Class TelepathyTransport
Transport using vis2k's Telepathy library.
Currently the default transport for FNNLib. I want to write my own, however to get off the ground, using an existing lib is simpler and more supported.
Inheritance
TelepathyTransport
Assembly: FNNLib.dll
Syntax
public class TelepathyTransport : Transport
Fields
|
Improve this Doc
View Source
clientMaxMessageSize
Declaration
public int clientMaxMessageSize
Field Value
|
Improve this Doc
View Source
noDelay
Declaration
Field Value
|
Improve this Doc
View Source
port
Declaration
Field Value
|
Improve this Doc
View Source
serverMaxMessageSize
Declaration
public int serverMaxMessageSize
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
GetFNNClientID(Int32, Boolean)
Declaration
public static ulong GetFNNClientID(int id, bool isServer)
Parameters
Returns
|
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