mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 22:48:42 +00:00
Protocol Phase 1 (Auth)
This commit is contained in:
@@ -167,14 +167,18 @@ public class EpServer : NetworkServer<EpConnection>, IResource
|
||||
|
||||
public override void Add(EpConnection connection)
|
||||
{
|
||||
connection.Server = this;
|
||||
connection.Handle(ResourceOperation.Configure,
|
||||
new EpServerConnectionContext() {
|
||||
Server = this,
|
||||
Warehouse = Instance.Warehouse }
|
||||
);
|
||||
|
||||
connection.ExceptionLevel = ExceptionLevel;
|
||||
base.Add(connection);
|
||||
}
|
||||
|
||||
public override void Remove(EpConnection connection)
|
||||
{
|
||||
connection.Server = null;
|
||||
base.Remove(connection);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user