class IPEndPointBasis

Defined at line 52 of file gen/third_party/openweave-core/src/include/InetLayer/IPEndPointBasis.h

Objects of this class represent non-instantiable IP protocol

endpoints.

Public Members

 mState
OnMessageReceivedFunct OnMessageReceived
OnReceiveErrorFunct OnReceiveError

Protected Members

InterfaceId mBoundIntfId

Public Methods

INET_ERROR SetMulticastLoopback (IPVersion aIPVersion, bool aLoopback)
INET_ERROR JoinMulticastGroup (InterfaceId aInterfaceId, const IPAddress & aAddress)
INET_ERROR LeaveMulticastGroup (InterfaceId aInterfaceId, const IPAddress & aAddress)

Protected Methods

void Init (InetLayer * aInetLayer)
INET_ERROR Bind (IPAddressType aAddressType, IPAddress aAddress, uint16_t aPort, InterfaceId aInterfaceId)
INET_ERROR BindInterface (IPAddressType aAddressType, InterfaceId aInterfaceId)
INET_ERROR SendMsg (const IPPacketInfo * aPktInfo, Weave::System::PacketBuffer * aBuffer, uint16_t aSendFlags)
INET_ERROR GetSocket (IPAddressType aAddressType, int aType, int aProtocol)
SocketEvents PrepareIO ()
void HandlePendingIO (uint16_t aPort)

Enumerations

enum (unnamed)
Name Value Comments
kState_Ready kBasisState_Closed

Endpoint initialized, but not open.

kState_Bound 1

Endpoint bound, but not listening.

kState_Listening 2

Endpoint receiving datagrams.

kState_Closed 3

Endpoint closed, ready for release.

Basic dynamic state of the underlying endpoint.

Defined at line 74 of file gen/third_party/openweave-core/src/include/InetLayer/IPEndPointBasis.h

enum (unnamed)
Name Value Comments
kSendFlag_RetainBuffer 0x0040

Do not destructively queue the message directly. Queue a copy.

Transmit option flags for the

method.

Defined at line 84 of file gen/third_party/openweave-core/src/include/InetLayer/IPEndPointBasis.h

Friends

class InetLayer