Interface IPeer
Syntax
public interface IPeer
Methods
Bind(IEndPoint)
Declaration
void Bind(IEndPoint endPoint)
Parameters
Type | Name | Description |
---|---|---|
Mirage.SocketLayer.IEndPoint | endPoint |
Connect(IEndPoint)
Declaration
IConnection Connect(IEndPoint endPoint)
Parameters
Type | Name | Description |
---|---|---|
Mirage.SocketLayer.IEndPoint | endPoint |
Returns
Type | Description |
---|---|
Mirage.SocketLayer.IConnection |
Close()
Declaration
void Close()
UpdateReceive()
Call this at the start of the frame to receive new messages
Declaration
void UpdateReceive()
UpdateSent()
Call this at end of frame to send new batches
Declaration
void UpdateSent()