Class Server.Instance
Inheritance
System.Object
Server.Instance
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pigeoneer
Assembly: Trail.dll
Syntax
public class Instance
Methods
Dispose()
Stops the server.
Declaration
public void Dispose()
Finalize()
Declaration
protected void Finalize()
Events
OnConnection
Sets a callback that is fired when a new client connected. connection is that new connection.
Declaration
public event Server.OnConnectionCallback OnConnection
Event Type
Type | Description |
---|---|
Server.OnConnectionCallback |
OnConnectionClose
Sets a callback that is fired when the connection is closed.
Declaration
public event Server.OnCloseCallback OnConnectionClose
Event Type
Type | Description |
---|---|
Server.OnCloseCallback |