MOOS 0.2375
Public Member Functions | Protected Member Functions | Protected Attributes
CMOOSUDPLink Class Reference

#include <MOOSUDPLink.h>

Collaboration diagram for CMOOSUDPLink:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMOOSUDPLink ()
bool Post (CMOOSMsg &M, const std::string &sRemoteHost, long int nRemotePort)
bool Fetch (MOOSMSG_LIST &MailIn)
bool Run (int nLocalPort=-1)
bool ListenLoop ()

Protected Member Functions

bool ReadPktFromArray (unsigned char *Buff, int nBytes, CMOOSCommPkt &PktRx)

Protected Attributes

CMOOSThread m_ListenThread
CMOOSLock m_InLock
MOOSMSG_LIST m_InBox
XPCUdpSocketm_pUDPSocket
long m_nLocalPort

Detailed Description

Definition at line 20 of file MOOSUDPLink.h.


Constructor & Destructor Documentation

CMOOSUDPLink::CMOOSUDPLink ( )

Definition at line 26 of file MOOSUDPLink.cpp.


Member Function Documentation

bool CMOOSUDPLink::Fetch ( MOOSMSG_LIST MailIn)

Definition at line 110 of file MOOSUDPLink.cpp.

bool CMOOSUDPLink::ListenLoop ( )

Definition at line 121 of file MOOSUDPLink.cpp.

bool CMOOSUDPLink::Post ( CMOOSMsg M,
const std::string &  sRemoteHost,
long int  nRemotePort 
)

Definition at line 65 of file MOOSUDPLink.cpp.

bool CMOOSUDPLink::ReadPktFromArray ( unsigned char *  Buff,
int  nBytes,
CMOOSCommPkt PktRx 
) [protected]

Definition at line 164 of file MOOSUDPLink.cpp.

bool CMOOSUDPLink::Run ( int  nLocalPort = -1)

Definition at line 32 of file MOOSUDPLink.cpp.


Member Data Documentation

Definition at line 34 of file MOOSUDPLink.h.

Definition at line 33 of file MOOSUDPLink.h.

Definition at line 32 of file MOOSUDPLink.h.

long CMOOSUDPLink::m_nLocalPort [protected]

Definition at line 39 of file MOOSUDPLink.h.

Definition at line 36 of file MOOSUDPLink.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines