Interface INetickPeer
- Namespace
- Netick
- Assembly
- Netick.dll
public interface INetickPeer
Methods
OnConnectFailed(ConnectionFailedReason)
void OnConnectFailed(ConnectionFailedReason reason)
Parameters
reason
ConnectionFailedReason
OnConnectRequest(byte[], int, IPEndPoint)
bool OnConnectRequest(byte[] data, int length, IPEndPoint source)
Parameters
data
byte[]
length
int
source
IPEndPoint
Returns
- bool
OnConnected(NetickConnection)
void OnConnected(NetickConnection peer)
Parameters
peer
NetickConnection
OnDisconnected(NetickConnection)
void OnDisconnected(NetickConnection peer)
Parameters
peer
NetickConnection
Receive(NetickConnection, byte[], int)
void Receive(NetickConnection connection, byte[] data, int length)
Parameters
connection
NetickConnection
data
byte[]
length
int