SerializeConnectionMethod
A delegate in Root.Township, Alta.Networking.
A method that writes (or reads) a message body for one connection on a stream. Passed to Connection and OutgoingPacketManager send methods.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
SerializeConnectionMethod(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, Stream stream, AsyncCallback callback, object object) | Standard delegate method for calling it asynchronously. |
virtual void EndInvoke(IAsyncResult result) | Standard delegate method that waits for an asynchronous call to finish. |
virtual void Invoke(Connection connection, Stream stream) | Runs the method with the connection and stream. |
Used in
Members of other types that take, return or hold a SerializeConnectionMethod:
Connection.messageHandlers, Connection.Send, Connection.SetHandler, Connection.TryGetMessageHandler, FakeSocket.SendToAll, FakeSocket.SendToPlayers, OutgoingPacketManager.Send, OutgoingPacketManager.SendWithQueued, OutgoingPacketManager.SerializeToWriter, ISocket.SendToAll, ISocket.SendToPlayers, Socket.SendToAll, Socket.SendToPlayers.