User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
NetEndPointC::NetEndPointC(void)
NetEndPointC::NetEndPointC(SocketC &)
NetEndPointC::NetEndPointC(const StringC &,BooleanT)
NetEndPointC::Transmit(const NetPacketC &)
NetEndPointC::MsgInit(StringC &)
NetEndPointC::Register(const NetMsgRegisterC &)
NetEndPointC::Send(UIntT,const Data1T &)
NetEndPointC::Send(UIntT,const Data1T &,const Data2T &)
NetEndPointC::RegisterR(UIntT,const StringC &,ObjT &,ScopePath (*)(FuncArgList))
NetEndPointC::Register(UIntT,const StringC &,ObjT &,ScopePath (*)(FuncArgList))
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
NetEndPointC
 
An end point for a network packet base protocol.
 
include "amma/NetEndPoint.hh"
User Level:Default
Library:SysNetwork
Example:exEndPoint.cc
Section:Basic Types.Network
In Scope:StdIO

Parent Classes:

Derived Classes: Methods:
NetEndPointC()
Default constructor.
Creates an invalid handle.

NetEndPointC(SocketC & skt)
Constructor.

NetEndPointC(const StringC & addr,BooleanT serv = false)
Constructor.
This connects to the given address.

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

void MsgInit(StringC & user)
Init message.

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

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

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

BooleanT RegisterR(UIntT mid,const StringC & msgName,ObjT & obj,ScopePath (*)(FuncArgList) 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.

BooleanT Register(UIntT mid,const StringC & msgName,ObjT & obj,ScopePath (*)(FuncArgList) func)
Register new message handler.
Hold a handle to the object called.

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

BooleanT IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<NetEndPointBodyC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<NetEndPointBodyC> & operator=(const RCHandleC<NetEndPointBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<NetEndPointBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<NetEndPointBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

NetEndPointBodyC & Body()
Direct access to body.

const NetEndPointBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001