Class RufflesTransport
TODO: Actually implement. This is simply an example of how a RUDP transport would work.
Inheritance
RufflesTransport
Assembly: FNNLib.dll
Syntax
public class RufflesTransport : Transport
Fields
|
Improve this Doc
View Source
channels
The channels and their types.
The first 3 channels are reserved as defaults.
Declaration
public ChannelType[] channels
Field Value
|
Improve this Doc
View Source
port
Declaration
Field Value
|
Improve this Doc
View Source
serverBindAddress
The address to bind the server to.
Declaration
public string serverBindAddress
Field Value
Properties
|
Improve this Doc
View Source
clientConnected
Declaration
public override bool clientConnected { get; }
Property Value
Overrides
|
Improve this Doc
View Source
serverRunning
Declaration
public override bool serverRunning { get; }
Property Value
Overrides
|
Improve this Doc
View Source
supported
Declaration
public override bool supported { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
ClientConnect(String)
Declaration
public override void ClientConnect(string hostname)
Parameters
| Type |
Name |
Description |
| String |
hostname |
|
Overrides
|
Improve this Doc
View Source
ClientDisconnect()
Declaration
public override void ClientDisconnect()
Overrides
|
Improve this Doc
View Source
ClientSend(ArraySegment<Byte>, Int32)
Declaration
public override bool ClientSend(ArraySegment<byte> data, int channel)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetMessage(out UInt64, out ArraySegment<Byte>, out Int32)
Declaration
public override NetworkEventType GetMessage(out ulong clientID, out ArraySegment<byte> data, out int channel)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ServerDisconnect(UInt64)
Declaration
public override void ServerDisconnect(ulong clientID)
Parameters
| Type |
Name |
Description |
| UInt64 |
clientID |
|
Overrides
|
Improve this Doc
View Source
ServerSend(List<UInt64>, ArraySegment<Byte>, Int32, UInt64)
Declaration
public override bool ServerSend(List<ulong> clients, ArraySegment<byte> data, int channel, ulong excludedClient = 0UL)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ServerShutdown()
Declaration
public override void ServerShutdown()
Overrides
|
Improve this Doc
View Source
ServerStart()
Declaration
public override void ServerStart()
Overrides
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()
Overrides