Class NetickTransport
- Namespace
- Netick
- Assembly
- Netick.dll
public class NetickTransport : NetworkTransport
- Inheritance
-
NetickTransport
- Inherited Members
-
Constructors
NetickTransport()
Methods
Connect(string, int, byte[], int)
public override void Connect(string address, int port, byte[] connectionData, int connectionDataLength)
Parameters
address
string
port
int
connectionData
byte[]
connectionDataLength
int
Disconnect(TransportConnection)
public override void Disconnect(TransportConnection connection)
Parameters
connection
TransportConnection
Init()
public override void Init()
OnConnectFailed(IEndPoint, ConnectionFailedReason)
public void OnConnectFailed(IEndPoint address, ConnectionFailedReason reason)
Parameters
address
IEndPoint
reason
ConnectionFailedReason
OnConnectRequest(NetworkConnectionRequest)
public void OnConnectRequest(NetworkConnectionRequest request)
Parameters
request
NetworkConnectionRequest
OnReceive(Connection, BitBuffer)
public void OnReceive(Connection peer, BitBuffer reader)
Parameters
peer
Connection
reader
BitBuffer
PollEvents()
public override void PollEvents()
Run(RunMode, int)
public override void Run(RunMode mode, int port)
Parameters
mode
RunMode
port
int
Shutdown()
public override void Shutdown()