Anoncoin  0.9.4
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
PaymentServer Class Reference

#include <paymentserver.h>

Inheritance diagram for PaymentServer:
[legend]
Collaboration diagram for PaymentServer:
[legend]

Public Slots

void uiReady ()
 
void fetchPaymentACK (CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)
 
void handleURIOrFile (const QString &s)
 

Signals

void receivedPaymentRequest (SendCoinsRecipient)
 
void receivedPaymentACK (const QString &paymentACKMsg)
 
void message (const QString &title, const QString &message, unsigned int style)
 

Public Member Functions

 PaymentServer (QObject *parent, bool startLocalServer=true)
 
 ~PaymentServer ()
 
void setOptionsModel (OptionsModel *optionsModel)
 

Static Public Member Functions

static bool ipcParseCommandLine (int argc, char *argv[])
 
static bool ipcSendCommandLine ()
 
static void LoadRootCAs (X509_STORE *store=NULL)
 
static X509_STORE * getCertStore ()
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
 

Private Slots

void handleURIConnection ()
 
void netRequestFinished (QNetworkReply *)
 
void reportSslErrors (QNetworkReply *, const QList< QSslError > &)
 
void handlePaymentACK (const QString &paymentACKMsg)
 

Private Member Functions

bool processPaymentRequest (PaymentRequestPlus &request, SendCoinsRecipient &recipient)
 
void fetchRequest (const QUrl &url)
 
void initNetManager ()
 

Static Private Member Functions

static bool readPaymentRequest (const QString &filename, PaymentRequestPlus &request)
 
static void freeCertStore ()
 

Private Attributes

bool saveURIs
 
QLocalServer * uriServer
 
QNetworkAccessManager * netManager
 
OptionsModeloptionsModel
 

Static Private Attributes

static X509_STORE * certStore = NULL
 

Detailed Description

Definition at line 55 of file paymentserver.h.

Constructor & Destructor Documentation

PaymentServer::PaymentServer ( QObject *  parent,
bool  startLocalServer = true 
)

Definition at line 265 of file paymentserver.cpp.

Here is the call graph for this function:

PaymentServer::~PaymentServer ( )

Definition at line 303 of file paymentserver.cpp.

Member Function Documentation

bool PaymentServer::eventFilter ( QObject *  object,
QEvent *  event 
)
protected

Definition at line 312 of file paymentserver.cpp.

Here is the call graph for this function:

void PaymentServer::fetchPaymentACK ( CWallet wallet,
SendCoinsRecipient  recipient,
QByteArray  transaction 
)
slot

Definition at line 541 of file paymentserver.cpp.

Here is the call graph for this function:

void PaymentServer::fetchRequest ( const QUrl &  url)
private

Definition at line 531 of file paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::freeCertStore ( )
staticprivate

Definition at line 57 of file paymentserver.cpp.

Here is the caller graph for this function:

static X509_STORE* PaymentServer::getCertStore ( )
inlinestatic

Definition at line 83 of file paymentserver.h.

Here is the caller graph for this function:

void PaymentServer::handlePaymentACK ( const QString &  paymentACKMsg)
privateslot

Definition at line 667 of file paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::handleURIConnection ( )
privateslot

Definition at line 434 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PaymentServer::handleURIOrFile ( const QString &  s)
slot

Definition at line 368 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PaymentServer::initNetManager ( )
private

Definition at line 329 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool PaymentServer::ipcParseCommandLine ( int  argc,
char *  argv[] 
)
static

Definition at line 182 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool PaymentServer::ipcSendCommandLine ( )
static

Definition at line 235 of file paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::LoadRootCAs ( X509_STORE *  store = NULL)
static

Definition at line 99 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PaymentServer::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal

Definition at line 204 of file moc_paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::netRequestFinished ( QNetworkReply *  reply)
privateslot

Definition at line 597 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool PaymentServer::processPaymentRequest ( PaymentRequestPlus request,
SendCoinsRecipient recipient 
)
private

Definition at line 475 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool PaymentServer::readPaymentRequest ( const QString &  filename,
PaymentRequestPlus request 
)
staticprivate

Definition at line 455 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PaymentServer::receivedPaymentACK ( const QString &  paymentACKMsg)
signal

Definition at line 197 of file moc_paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::receivedPaymentRequest ( SendCoinsRecipient  _t1)
signal

Definition at line 190 of file moc_paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::reportSslErrors ( QNetworkReply *  reply,
const QList< QSslError > &  errs 
)
privateslot

Definition at line 650 of file paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::setOptionsModel ( OptionsModel optionsModel)

Definition at line 662 of file paymentserver.cpp.

Here is the caller graph for this function:

void PaymentServer::uiReady ( )
slot

Definition at line 356 of file paymentserver.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

X509_STORE * PaymentServer::certStore = NULL
staticprivate

Definition at line 131 of file paymentserver.h.

QNetworkAccessManager* PaymentServer::netManager
private

Definition at line 134 of file paymentserver.h.

OptionsModel* PaymentServer::optionsModel
private

Definition at line 136 of file paymentserver.h.

bool PaymentServer::saveURIs
private

Definition at line 128 of file paymentserver.h.

QLocalServer* PaymentServer::uriServer
private

Definition at line 129 of file paymentserver.h.


The documentation for this class was generated from the following files: