gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <ORB.H>
Public Member Functions | |
ORBOriginator (int argc, char *argv[], string transportNameIn) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, int basePortDifferent) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, const vector< pair< string, string > > extraProperties) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, const vector< pair< string, string > > extraProperties, int basePortDifferent) | |
virtual | ~ORBOriginator (void) |
Destructor. More... | |
void | shutdown (const Ice::Current &cur) |
bool | isShutdown () |
void | addClass (Ice::ObjectPtr objectToORB, const string &name) |
void | waitForShutdown (void) |
Public Member Functions inherited from ORB::ORBBase | |
ORBBase (void) | |
Constructor using ORB_DEFAULT_BASEPORT as the starting base network port. More... | |
ORBBase (int basePortDifferent) | |
int | getPortOffset (void) |
void | removePortOffset (int whichOffset) |
int | getTCPUDPPort (int portOffset) |
int | getSSLPort (int portOffset) |
int | getBasePort (void) |
string | generateEndPoint (const string &transportName, std::string &ipAddress, int &portOffset) |
string | generateEndPoint (string &transportName, string ipAddress, int portOffset) |
Protected Member Functions | |
ORBOriginator (int argc, char *argv[], string transportNameIn, string ipAddress) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, string ipAddress, const vector< pair< string, string > > extraProperties) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, string ipAddress, int basePortDifferent) | |
ORBOriginator (int argc, char *argv[], string transportNameIn, string ipAddress, const vector< pair< string, string > > extraProperties, int basePortDifferent) | |
void | initialise (int argc, char *argv[], string transportNameIn, string ipAddress, const vector< pair< string, string > > extraProperties) |
void | initialiseAdapter (void) |
void | getObjectPointer (const string &name, Ice::ObjectPtr &objectPointer, const Ice::Current &cur) |
Protected Attributes | |
int | portOffset |
The port offset of this application layer. More... | |
string | hostAddress |
The hostname or IP address of the node to connect to, empty for the originator and set for the replicator. More... | |
string | transportName |
Zeroc ICE application layer name. More... | |
Ice::CommunicatorPtr | communicator |
Resident communicator. More... | |
Ice::ObjectAdapterPtr | adapterPtr |
Resident adapter. More... | |
Sets up an originator which others can connect to as replicators. The general idea is that any local classes can be added to the ORB network application layer using the ORBOriginator::addClass method. Once these classes have been added to the ORB network, the ORBReplicator class can be used to access them on the other end of the network. Maintains required resident classes (such as the communicator and adapter)
NOTE: Before using this class, you will require an install of the ZeroC ICE system (see http://www.zeroc.com/download.html for binary installers) On Debian derived systems : sudo apt-get install zeroc-ice34 libzeroc-ice34-dev ice34-translators
NOTE: If your version of slice2cpp generates errors when executing slice2cpp on the ORBICE.ice file, then you will need to upgrade to version 3.5 of the Zeroc ICE software.
To use this class and the ice files, look at the Makefile for how to generate C++ code from the network protocol .ice files and then how to compile them.
|
inlineprotected |
Generates a new ZeroC ICE application layer to connect to the originator (used by the ORBReplicator).
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
ipAddress | the host to connect to whos endpoints should be open and ready for connecting (used by ORBReplicator) |
|
inlineprotected |
Generates a new ZeroC ICE application layer to connect to the originator (used by the ORBReplicator).
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
ipAddress | the host to connect to whos endpoints should be open and ready for connecting (used by ORBReplicator) |
extraProperties | Extra communicator properties to initialise the communicator with |
|
inlineprotected |
Generates a new ZeroC ICE application layer to connect to the originator (used by the ORBReplicator).
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
ipAddress | the host to connect to whos endpoints should be open and ready for connecting (used by ORBReplicator) |
basePortDifferent | Specify a different base port to the default normally used by ORBBase |
|
inlineprotected |
Generates a new ZeroC ICE application layer to connect to the originator (used by the ORBReplicator).
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
ipAddress | the host to connect to whos endpoints should be open and ready for connecting (used by ORBReplicator) |
extraProperties | Extra communicator properties to initialise the communicator with |
basePortDifferent | Specify a different base port to the default normally used by ORBBase |
|
inline |
Generates a new application layer originator for class Object Broking. The endpoints of the application layer are derived by ORBBase. The ice configuration transportName.Control and transportName.Endpoints are auto-generated.
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
|
inline |
Generates a new application layer originator for Object Broking. The endpoints of the application layer are derived by ORBBase. The ice configuration transportName.Control and transportName.Endpoints are auto-generated.
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
basePortDifferent | Specify a different base port to the default normally used by ORBBase |
|
inline |
Generates a new application layer originator for class Object Broking. The endpoints of the application layer are derived by ORBBase. The ice configuration transportName.Control and transportName.Endpoints are auto-generated
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
extraProperties | Extra communicator properties to initialise the communicator with |
|
inline |
Generates a new application layer originator for Object Broking. The endpoints of the application layer are derived by ORBBase. The ice configuration transportName.Control and transportName.Endpoints are auto-generated.
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
extraProperties | Extra communicator properties to initialise the communicator with |
basePortDifferent | Specify a different base port to the default normally used by ORBBase |
|
inlinevirtual |
|
inline |
|
inlineprotected |
This method implements the netowrk protocol ORB::ORBICE::getObjectPointer. The protocol for this method is specified in the ORBICE.ice network protocol specification file.
|
inlineprotected |
Generates a new ZeroC ICE application layer originator. The endpoints of the application layer are derived by ORBBase. The ice configuration transportName.Control and transportName.Endpoints are auto-generated
argc | The command line argument count |
argv | The command line arguments |
transportNameIn | The name of this application layer, which enables ICE to lookup using the appropriate endpoints |
ipAddress | the host to connect to whos endpoints should be open and ready for connecting (used by ORBReplicator) |
extraProperties | Extra communicator properties to initialise the communicator with |
|
inlineprotected |
Creates an adapter, as required by the ORBOriginator but not the ORBReplicator.
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
GTK+ IOStream
Beta
|