Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

UDP_Socket Class Reference

#include <UDP_Socket.h>

Inheritance diagram for UDP_Socket::

Channel List of all members.

Public Methods

 UDP_Socket ()
 UDP_Socket (unsigned int port)
 UDP_Socket (unsigned int other_Port, char *other_InetAddr)
 ~UDP_Socket ()
char* addToProgram (void)
 methods to set up the channel in an actor space. More...

virtual int setUpShadow (void)
virtual int setUpActor (void)
int setNextAddress (const ChannelAddress &otherChannelAddress)
int sendObj (int commitTag, MovableObject &theObject, ChannelAddress *theAddress=0)
 methods to send/receive messages and objects on channels. More...

int recvObj (int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress=0)
int sendMsg (int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=0)
int recvMsg (int dbTag, int commitTag, Message &, ChannelAddress *theAddress=0)
int sendMatrix (int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress=0)
int recvMatrix (int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress=0)
int sendVector (int dbTag, int commitTag, const Vector &theVector, ChannelAddress *theAddress=0)
int recvVector (int dbTag, int commitTag, Vector &theVector, ChannelAddress *theAddress=0)
int sendID (int dbTag, int commitTag, const ID &theID, ChannelAddress *theAddress=0)
int recvID (int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress=0)

Protected Methods

unsigned int getPortNumber (void) const

Constructor & Destructor Documentation

UDP_Socket::UDP_Socket ( )
 

Definition at line 52 of file UDP_Socket.cpp.

UDP_Socket::UDP_Socket ( unsigned int port )
 

Definition at line 81 of file UDP_Socket.cpp.

UDP_Socket::UDP_Socket ( unsigned int other_Port,
char * other_InetAddr )
 

Definition at line 112 of file UDP_Socket.cpp.

UDP_Socket::~UDP_Socket ( )
 

Definition at line 140 of file UDP_Socket.cpp.


Member Function Documentation

char * UDP_Socket::addToProgram ( void ) [virtual]
 

methods to set up the channel in an actor space.

Reimplemented from Channel.

Definition at line 682 of file UDP_Socket.cpp.

unsigned int UDP_Socket::getPortNumber ( void ) const [protected]
 

Definition at line 674 of file UDP_Socket.cpp.

Referenced by addToProgram().

int UDP_Socket::recvID ( int dbTag,
int commitTag,
ID & theID,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 578 of file UDP_Socket.cpp.

int UDP_Socket::recvMatrix ( int dbTag,
int commitTag,
Matrix & theMatrix,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 375 of file UDP_Socket.cpp.

int UDP_Socket::recvMsg ( int dbTag,
int commitTag,
Message & msg,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 275 of file UDP_Socket.cpp.

int UDP_Socket::recvObj ( int commitTag,
MovableObject & theObject,
FEM_ObjectBroker & theBroker,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 234 of file UDP_Socket.cpp.

int UDP_Socket::recvVector ( int dbTag,
int commitTag,
Vector & theVector,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 477 of file UDP_Socket.cpp.

int UDP_Socket::sendID ( int dbTag,
int commitTag,
const ID & theID,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 630 of file UDP_Socket.cpp.

int UDP_Socket::sendMatrix ( int dbTag,
int commitTag,
const Matrix & theMatrix,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 429 of file UDP_Socket.cpp.

int UDP_Socket::sendMsg ( int dbTag,
int commitTag,
const Message & msg,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 327 of file UDP_Socket.cpp.

int UDP_Socket::sendObj ( int commitTag,
MovableObject & theObject,
ChannelAddress * theAddress = 0 ) [virtual]
 

methods to send/receive messages and objects on channels.

Reimplemented from Channel.

Definition at line 206 of file UDP_Socket.cpp.

int UDP_Socket::sendVector ( int dbTag,
int commitTag,
const Vector & theVector,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 530 of file UDP_Socket.cpp.

int UDP_Socket::setNextAddress ( const ChannelAddress & otherChannelAddress ) [virtual]
 

Reimplemented from Channel.

Definition at line 182 of file UDP_Socket.cpp.

int UDP_Socket::setUpActor ( void ) [virtual]
 

Reimplemented from Channel.

Definition at line 147 of file UDP_Socket.cpp.

int UDP_Socket::setUpShadow ( void ) [virtual]
 

Reimplemented from Channel.

Definition at line 168 of file UDP_Socket.cpp.


The documentation for this class was generated from the following files:
Copyright Contact Us