IBR-DTNSuite  0.8
ibrcommon::lowpansocket Class Reference

#include <lowpansocket.h>

Inheritance diagram for ibrcommon::lowpansocket:
Collaboration diagram for ibrcommon::lowpansocket:

List of all members.

Classes

class  peer
class  SocketException

Public Member Functions

virtual ~lowpansocket ()
virtual void shutdown ()
int receive (char *data, size_t maxbuffer)
lowpansocket::peer getPeer (unsigned int address, const unsigned int panid)

Static Public Member Functions

static void getAddress (struct ieee802154_addr *ret, const vinterface &iface)

Protected Member Functions

 lowpansocket (u_char proto=0) throw (SocketException)

Protected Attributes

ibrcommon::vsocket _vsocket
struct sockaddr_ieee802154 _sockaddr

Detailed Description

Definition at line 20 of file lowpansocket.h.


Constructor & Destructor Documentation

Definition at line 51 of file lowpansocket.cpp.

References shutdown().

Here is the call graph for this function:

ibrcommon::lowpansocket::lowpansocket ( u_char  proto = 0) throw (SocketException) [protected]

Definition at line 33 of file lowpansocket.cpp.

References AF_IEEE802154, bzero, IEEE802154_ADDR_SHORT, and PF_IEEE802154.


Member Function Documentation

lowpansocket::peer ibrcommon::lowpansocket::getPeer ( unsigned int  address,
const unsigned int  panid 
)
int ibrcommon::lowpansocket::receive ( char *  data,
size_t  maxbuffer 
)

Definition at line 61 of file lowpansocket.cpp.

References _vsocket, ibrcommon::recvfrom(), and ibrcommon::vsocket::select().

Referenced by dtn::net::LOWPANConvergenceLayer::componentRun().

Here is the call graph for this function:

Definition at line 56 of file lowpansocket.cpp.

References _vsocket, and ibrcommon::vsocket::close().

Referenced by dtn::net::LOWPANConvergenceLayer::__cancellation(), dtn::net::LOWPANDatagramService::shutdown(), and ~lowpansocket().

Here is the call graph for this function:


Member Data Documentation


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