|
ObjFW
|
Go to the source code of this file.
Classes | |
| protocol | <OFSequencedPacketSocketDelegate> |
| A delegate for OFSequencedPacketSocket. More... | |
| class | OFSequencedPacketSocket |
| A base class for sequenced packet sockets. More... | |
Typedefs | |
| typedef bool(^ | OFSequencedPacketSocketAsyncReceiveBlock) (size_t length, id exception) |
| A block which is called when a packet has been received. | |
| typedef bool(^ | OFSequencedPacketSocketPacketReceivedHandler) (OFSequencedPacketSocket *socket, void *buffer, size_t length, id exception) |
| A handler which is called when a packet has been received. | |
| typedef OFData *(^ | OFSequencedPacketSocketAsyncSendDataBlock) (id exception) |
| A block which is called when a packet has been sent. | |
| typedef OFData *(^ | OFSequencedPacketSocketDataSentHandler) (OFSequencedPacketSocket *socket, OFData *data, id exception) |
| A handler which is called when a packet has been sent. | |
| typedef bool(^ | OFSequencedPacketSocketAsyncAcceptBlock) (OFSequencedPacketSocket *acceptedSocket, id exception) |
| A block which is called when the socket accepted a connection. | |
| typedef bool(^ | OFSequencedPacketSocketAcceptedHandler) (OFSequencedPacketSocket *socket, OFSequencedPacketSocket *acceptedSocket, id exception) |
| A handler which is called when the socket accepted a connection. | |
| typedef bool(^ OFSequencedPacketSocketAcceptedHandler) (OFSequencedPacketSocket *socket, OFSequencedPacketSocket *acceptedSocket, id exception) |
A handler which is called when the socket accepted a connection.
| socket | The socket which accepted the connection |
| acceptedSocket | The socket which has been accepted |
| exception | An exception which occurred while accepting the socket or nil on success |
| typedef bool(^ OFSequencedPacketSocketAsyncAcceptBlock) (OFSequencedPacketSocket *acceptedSocket, id exception) |
A block which is called when the socket accepted a connection.
| acceptedSocket | The socket which has been accepted |
| exception | An exception which occurred while accepting the socket or nil on success |
| typedef bool(^ OFSequencedPacketSocketAsyncReceiveBlock) (size_t length, id exception) |
A block which is called when a packet has been received.
| length | The length of the packet |
| exception | An exception which occurred while receiving or nil on success |
| typedef OFData *(^ OFSequencedPacketSocketAsyncSendDataBlock) (id exception) |
A block which is called when a packet has been sent.
| exception | An exception which occurred while reading or nil on success |
| typedef OFData *(^ OFSequencedPacketSocketDataSentHandler) (OFSequencedPacketSocket *socket, OFData *data, id exception) |
A handler which is called when a packet has been sent.
| socket | The sequenced packet socket which sent a packet |
| data | The data which was sent |
| exception | An exception which occurred while reading or nil on success |
| typedef bool(^ OFSequencedPacketSocketPacketReceivedHandler) (OFSequencedPacketSocket *socket, void *buffer, size_t length, id exception) |
A handler which is called when a packet has been received.
| socket | The sequenced packet socket which received a packet |
| buffer | The buffer the packet has been written to |
| length | The length of the packet |
| exception | An exception which occurred while receiving or nil on success |