mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Protocol Phase 1 (Auth)
This commit is contained in:
1 parent
a91fc7d262
commit
e1cb60d498
13 files changed
+263
-96
No files matched your search
@@ -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