#include <transport_simpl.h>
Inheritance diagram for MPS::SimplTransport:
Static Public Methods | |
void | initialise (string const &simplName) |
void | mainloop () |
Protected Methods | |
virtual ref<Connection> | connectTo (Address const &connectionSpec) |
virtual string | registerServer (Server *server, Address const &spec) |
virtual string | deregisterServer (Server *server, Address const &spec) |
Static Protected Methods | |
void | pushMessage (void *sender, char const *msg, int msglen) |
void* | popMessage (char *msg, int &msglen) |
Private Types | |
typedef map< int, Server * > | serverMap_t |
Private Methods | |
SimplTransport (string const &simplName) | |
Private Attributes | |
int | nextOid |
string | simplName |
serverMap_t | serverMap |
Static Private Attributes | |
SimplTransport* | instance |
Friends | |
class | SimplIOStream |
Definition at line 48 of file transport_simpl.h.
|
Definition at line 57 of file transport_simpl.h. |
|
Referenced by initialise(). |
|
Returns a message source/sink that can be used for communication with the object at the address described by the connectionSpec. The connectionSpec is the broken-down resolved name of the remote object, and must match the address format that this transport expects.
Reimplemented from MPS::Transport. |
|
Attempt to deregister a server interface.
Reimplemented from MPS::Transport. |
|
Creates the single per-application instance of SimplTransport, and registers it using Transport::registerTransport().
Definition at line 85 of file transport_simpl.h. |
|
|
|
|
|
|
|
Attempt to register a server interface for access using this transport.
Reimplemented from MPS::Transport. |
|
Definition at line 74 of file transport_simpl.h. Referenced by MPS::SimplTransport::SimplConnection::getInputStream(), and MPS::SimplTransport::SimplConnection::getOutputStream(). |
|
The single, per-application instance of SimplTransport.
Definition at line 50 of file transport_simpl.h. |
|
Next OID available for registration here.
Definition at line 61 of file transport_simpl.h. |
|
All OIDs we serve.
Definition at line 63 of file transport_simpl.h. |
|
Our local SIMPL server name.
Definition at line 62 of file transport_simpl.h. |