Class Server
- Namespace
- Netick
- Assembly
- Netick.dll
public sealed class Server : NetworkPeer
- Inheritance
-
Server
- Inherited Members
-
Properties
InKBps
public override float InKBps { get; }
Property Value
- float
OutKBps
public override float OutKBps { get; }
Property Value
- float
Methods
Kick(ServerConnection)
public void Kick(ServerConnection client)
Parameters
client
ServerConnection
OnConnectFailed(ConnectionFailedReason)
public override void OnConnectFailed(ConnectionFailedReason reason)
Parameters
reason
ConnectionFailedReason
OnConnectRequest(byte[], int, IEndPoint)
public override bool OnConnectRequest(byte[] data, int length, IEndPoint source)
Parameters
data
byte[]
length
int
source
IEndPoint
Returns
- bool
OnConnected(TransportConnection)
public override void OnConnected(TransportConnection peer)
Parameters
peer
TransportConnection
OnDisconnected(TransportConnection, TransportDisconnectReason)
public override void OnDisconnected(TransportConnection peer, TransportDisconnectReason transportDisconnectReason)
Parameters
peer
TransportConnection
transportDisconnectReason
TransportDisconnectReason
Receive(TransportConnection, BitBuffer, TransportDeliveryMethod)
public override void Receive(TransportConnection connection, BitBuffer buffer, TransportDeliveryMethod transportDeliveryMethod)
Parameters
connection
TransportConnection
buffer
BitBuffer
transportDeliveryMethod
TransportDeliveryMethod