Class NetworkTransport
- Namespace
- Netick
- Assembly
- Netick.dll
public abstract class NetworkTransport
- Inheritance
-
NetworkTransport
- Derived
-
- Inherited Members
-
Constructors
NetworkTransport()
protected NetworkTransport()
Properties
Engine
public NetickEngine Engine { get; }
Property Value
- NetickEngine
NetworkPeer
public NetworkPeer NetworkPeer { get; }
Property Value
- NetworkPeer
Methods
Connect(string, int, byte[], int)
public abstract void Connect(string address, int port, byte[] connectionData, int connectionDataLength)
Parameters
address
string
port
int
connectionData
byte[]
connectionDataLength
int
Disconnect(TransportConnection)
public abstract void Disconnect(TransportConnection connection)
Parameters
connection
TransportConnection
ForceUpdate()
public virtual void ForceUpdate()
HostMatch(string)
public virtual void HostMatch(string name)
Parameters
name
string
Init()
public virtual void Init()
OnMatchListUpdate(List<Session>)
public void OnMatchListUpdate(List<Session> sessions)
Parameters
sessions
List<Session>
PollEvents()
public abstract void PollEvents()
Run(RunMode, int)
public abstract void Run(RunMode mode, int port)
Parameters
mode
RunMode
port
int
Shutdown()
public abstract void Shutdown()
UpdateMatchList()
public virtual void UpdateMatchList()