DatagramProtocol

Interface for datagram protocol.

Members

Functions

datagramReceived
void datagramReceived(const(void)[] data, Address address)

Called when a datagram is received.

errorReceived
void errorReceived(Exception exception)

Called when a previous send or receive operation raises an exception.

Inherited Members

From BaseProtocol

connectionMade
void connectionMade(BaseTransport transport)

Called when a connection is made.

connectionLost
void connectionLost(Exception exception)

Called when the connection is lost or closed.

pauseWriting
void pauseWriting()

Called when the transport’s buffer goes over the high-water mark.

resumeWriting
void resumeWriting()

Called when the transport’s buffer drains below the low-water mark.

Meta