Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Network - NetPort - NetPortClientBodyC
 

  PUBLIC
NetPortClientBodyC::NetPortClientBodyC(SocketC &,NetPortManagerC &)
NetPortClientBodyC::Init(void)
NetPortClientBodyC::MsgConnectTo(StringC &,StringC &)
NetEndPointBodyC::IsOpen(void) const
NetEndPointBodyC::Init(SocketC &)
NetEndPointBodyC::WaitSetupComplete(void)
NetEndPointBodyC::Close(void)
NetEndPointBodyC::RemoteUser(void) const
NetEndPointBodyC::Transmit(const NetPacketC &)
NetEndPointBodyC::MsgInit(StringC &)
NetEndPointBodyC::Ready(void)
NetEndPointBodyC::SndInit(StringC &)
NetEndPointBodyC::Send(UIntT)
NetEndPointBodyC::Send(UIntT,const Data1T &)
NetEndPointBodyC::Send(UIntT,const Data1T &,const Data2T &)
NetEndPointBodyC::Send(UIntT,const Data1T &,const Data2T &,const Data3T &)
NetEndPointBodyC::Register(const NetMsgRegisterC &)
NetEndPointBodyC::Find(UIntT) const
NetEndPointBodyC::RegisterR(UIntT,const StringC &,ObjT &,bool (*func)() )
NetEndPointBodyC::RegisterR(UIntT,const StringC &,ObjT &,bool (*func)(DataT &) )
NetEndPointBodyC::RegisterR(UIntT,const StringC &,ObjT &,bool (*func)(Data1T &,Data2T &) )
NetEndPointBodyC::RegisterR(UIntT,const StringC &,ObjT &,bool (*func)(Data1T &,Data2T &,Data3T &) )
NetEndPointBodyC::Register(UIntT,const StringC &,ObjT &,bool (*func)() )
NetEndPointBodyC::Register(UIntT,const StringC &,ObjT &,bool (*func)(DataT &) )
NetEndPointBodyC::Register(UIntT,const StringC &,ObjT &,bool (*func)(Data1T &,Data2T &) )
NetEndPointBodyC::Register(UIntT,const StringC &,ObjT &,bool (*func)(Data1T &,Data2T &,Data3T &) )
NetEndPointBodyC::RunTransmit(void)
NetEndPointBodyC::RunReceive(void)
NetEndPointBodyC::RunDecode(void)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   NetPortClientBodyC   
 
NetPortClient.
 
include "Ravl/OS/NetPortClient.hh"
Source file:Ravl/OS/Network/NetPortClient.hh
User Level:Develop
Library:RavlNet
In Scope:RavlN

Comments:
This class manages incoming connection requests.

Parent Classes: Variables:
NetPortManagerC manager;

Methods:
NetPortClientBodyC(SocketC & skt,NetPortManagerC & manager)
Construct from open socket.

bool Init()
Initalise connection.

bool MsgConnectTo(StringC & port,StringC & datatype)
Handle connect to message.

#include "Ravl/OS/NetEndPoint.hh"
bool IsOpen() const
Is Connections open ?

bool Init(SocketC & skt)
Setup a connection.
This should only be used if net end point has been created by the default constructor.

bool WaitSetupComplete()
Wait for setup to complete.

bool Close()
Close connection.

const StringC & RemoteUser() const
Access name of remote user.

void Transmit(const NetPacketC & pkt)
Queue a packet for transmition.

bool MsgInit(StringC & user)
Init message.

bool Ready()
Initalise link.

void SndInit(StringC & user)
Send init message.

bool Send(UIntT id)
Send a 0 paramiter message.

bool Send(UIntT id,const Data1T & dat1)
Send a 1 paramiter message.

bool Send(UIntT id,const Data1T & dat1,const Data2T & dat2)
Send a 2 paramiter message.

bool Send(UIntT id,const Data1T & dat1,const Data2T & dat2,const Data3T & dat3)
Send a 3 paramiter message.

bool Register(const NetMsgRegisterC & nmsg)
Register new message handler.

NetMsgRegisterC Find(UIntT id) const
Search for message decode/encode of type 'id'.

bool RegisterR(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)() )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool RegisterR(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(DataT &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool RegisterR(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(Data1T &,Data2T &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool RegisterR(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(Data1T &,Data2T &,Data3T &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool Register(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)() )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool Register(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(DataT &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool Register(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(Data1T &,Data2T &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool Register(UIntT mid,const StringC & msgName,ObjT & obj,bool (*func)(Data1T &,Data2T &,Data3T &) )
Register new message handler.
NB. This does not make a handle to 'obj', it is the users responsibility to ensure it is not deleted.

bool RunTransmit()
Handle packet transmition.

bool RunReceive()
Handle packet reception.

bool RunDecode()
Decodes incoming packets.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002