PacketSentHandler
A delegate in Root.Township, Alta.Networking.
Callback for Connection.PacketSent, with the connection, the bytes sent, their count, the channel and the transport result.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
PacketSentHandler(object object, IntPtr method) | Made by the compiler when you assign a method to this delegate; you don't call it directly. |
Methods
| Member | What it is |
|---|---|
virtual IAsyncResult BeginInvoke(Connection connection, byte[] data, int byteCount, ConnectionChannel channel, INetworkTransportResult result, AsyncCallback callback, object object) | Starts the call on another thread; not supported in Unity, so use Invoke. |
virtual void EndInvoke(IAsyncResult result) | Waits for a call started with BeginInvoke; not supported in Unity. |
virtual void Invoke(Connection connection, byte[] data, int byteCount, ConnectionChannel channel, INetworkTransportResult result) | Calls every method on this delegate with these arguments. |
Used in
Members of other types that take, return or hold a PacketSentHandler: