2005/5/9

     
 

class OrbConnection

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::orb::OrbConnection Class Reference

#include <OrbConnection.h>

Inheritance diagram for acdkx::orb::OrbConnection:

acdk::lang::Object acdk::lang::Comparable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 OrbConnection (RString net, int p)
int compareTo (IN(acdk::lang::Object) obj)
 used to hold them in a sorted collection

int compareTo (IN(ROrbConnection) other)
 used to hold them in a sorted collection

void connect (IN(RServerDelegate) sd)
 connect to server if needed

void disconnect (IN(RServerDelegate) sd)
 disconnects ds from this connection

void disconnect ()
 disconnects from server

int nextRequestId ()
 returns an request id individual to this connection


Public Attributes

RString network
 ip number of ORB server

int port
 port number of ORB server

RSocket socket
 socket to ORB server

acdk::util::RArrayList objects
 List of RServerDelegates which are active on this OrbConnection.


Private Attributes

int _nextRequestId

Constructor & Destructor Documentation

acdkx::orb::OrbConnection::OrbConnection RString  net,
int  p
[inline]
 


Member Function Documentation

int acdkx::orb::OrbConnection::compareTo IN(ROrbConnection other  )  [inline]
 

used to hold them in a sorted collection

int acdkx::orb::OrbConnection::compareTo IN(acdk::lang::Object obj  )  [inline, virtual]
 

used to hold them in a sorted collection

Implements acdk::lang::Comparable.

void acdkx::orb::OrbConnection::connect IN(RServerDelegate sd  ) 
 

connect to server if needed

void acdkx::orb::OrbConnection::disconnect  ) 
 

disconnects from server

void acdkx::orb::OrbConnection::disconnect IN(RServerDelegate sd  ) 
 

disconnects ds from this connection

int acdkx::orb::OrbConnection::nextRequestId  )  [inline]
 

returns an request id individual to this connection


Member Data Documentation

int acdkx::orb::OrbConnection::_nextRequestId [private]
 

RString acdkx::orb::OrbConnection::network
 

ip number of ORB server

acdk::util::RArrayList acdkx::orb::OrbConnection::objects
 

List of RServerDelegates which are active on this OrbConnection.

int acdkx::orb::OrbConnection::port
 

port number of ORB server

RSocket acdkx::orb::OrbConnection::socket
 

socket to ORB server