|
|
Class RTBConnection The RTB connection capsules the communication to the rtb server. For example, you can implement this as a simple wrapper for cin and cout. Note: Has to be implemented as a SINGLETON
~UnixRTBConnection ()
throw() | ~UnixRTBConnection |
Destructor, does nothing
UnixRTBConnection* instance ()
throw(bad_exception) | instance |
[static]
returns an instance (->singleton pattern)
void sendLine (const string& line)
throw(StrategyException, IOException, bad_exception) | sendLine |
Parameters:
line | Message that will be send over the connection (does not append a trailing newline) |
Reimplemented from Connection.
string getLine ()
throw(IOException, bad_exception) | getLine |
Returns: string that contains a line out of the connection (not terminated with newline)
Reimplemented from Connection.
string getTargetName ()
throw(IOException, bad_exception) | getTargetName |
Returns: name of the associated target
Reimplemented from Connection.
static auto_ptr | _instance |
[private]
UnixInStream _inStream | _inStream |
[private]
UnixOutStream _outStream | _outStream |
[private]
UnixRTBConnection ()
throw(bad_exception) | UnixRTBConnection |
[private]
Private constructor (->singleton pattern)
Generated by: jonico on sc8-pr-shell1.sourceforge.net on Fri May 27 06:03:12 2005, using kdoc 2.0a54. |