Skip to main content

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.

Constructors​

MemberWhat 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​

MemberWhat 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: