Class MessageServiceConnection
- Namespace
- TaleWorlds.Network
- Assembly
- TaleWorlds.Network.dll
public abstract class MessageServiceConnection
- Inheritance
-
MessageServiceConnection
- Inherited Members
Constructors
MessageServiceConnection()
public MessageServiceConnection()
Fields
OldState
public ConnectionState OldState
Field Value
State
public ConnectionState State
Field Value
Properties
Address
public string Address { get; protected set; }
Property Value
Methods
Init(string, string)
public abstract void Init(string address, string token)
Parameters
InvokeClosed()
protected void InvokeClosed()
InvokeStateChanged(ConnectionState, ConnectionState)
protected void InvokeStateChanged(ConnectionState oldState, ConnectionState newState)
Parameters
oldState
ConnectionStatenewState
ConnectionState
RegisterProxyClient(string, IMessageProxyClient)
public abstract void RegisterProxyClient(string name, IMessageProxyClient playerClient)
Parameters
name
stringplayerClient
IMessageProxyClient
SendAsync(string)
public abstract Task SendAsync(string text)
Parameters
text
string
Returns
StartAsync()
public abstract Task StartAsync()
Returns
StopAsync()
public abstract Task StopAsync()
Returns
Events
Closed
public event MessageServiceConnection.ClosedDelegate Closed
Event Type
StateChanged
public event MessageServiceConnection.StateChangedDelegate StateChanged
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).