IClient Interface
Namespace: Riptide.Transports
Assembly: RiptideNetworking.dll
Defines methods, properties, and events which every transport's client must implement.
public interface IClient : IPeer
Methods
Connect(string, out Connection, out string) | Starts the transport and attempts to connect to the given host address. |
Disconnect() | Closes the connection to the server. |
Events
Connected | Invoked when a connection is established at the transport level. |
ConnectionFailed | Invoked when a connection attempt fails at the transport level. |