Interface DatagramProtocol
Interface for datagram protocol.
Inherits from
Methods
Name | Description |
---|---|
datagramReceived
|
Called when a datagram is received. |
errorReceived
|
Called when a previous send or receive operation raises an exception .
|
connectionLost
|
Called when the connection is lost or closed. |
connectionMade
|
connectionMade () and connectionLost () are
called exactly once per successful connection. All other callbacks will
be called between those two methods, which allows for easier resource
management in your protocol implementation.
|
pauseWriting
|
pauseWriting () and resumeWriting () calls are
paired – pauseWriting () is called once when the buffer goes
strictly over the high-water mark (even if subsequent writes increases
the buffer size even more), and eventually resumeWriting ()
is called once when the buffer size reaches the low-water mark.
|
resumeWriting
|
Called when the transport’s buffer drains below the low-water mark. |
Authors
Dragos Carp
Copyright
© 2015-2016 Dragos Carp
License
Boost Software License - Version 1.0