trikRuntime
trikNetwork::MailboxFactory Class Reference

Factory that creates real mailbox object. More...

#include <mailboxFactory.h>

Static Public Member Functions

static MailboxInterfacecreate (int port)
 Method that creates mailbox object. More...
 
static MailboxInterfacecreate (const trikKernel::Configurer &configurer)
 Method that creates mailbox object. More...
 

Detailed Description

Factory that creates real mailbox object.

Member Function Documentation

MailboxInterface * MailboxFactory::create ( int  port)
static

Method that creates mailbox object.

Transfers ownership over MailboxInterface object to caller.

Parameters
port- TCP port of mailbox server.
MailboxInterface * MailboxFactory::create ( const trikKernel::Configurer configurer)
static

Method that creates mailbox object.

Transfers ownership over MailboxInterface object to caller.

Parameters
configurer- configurer object that contains preparsed XML config. If configuration is incorrect, uninitialized mailbox object will be returned.

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