コード例 #1
0
ファイル: Client.cs プロジェクト: Bog624s/Zylixel.github.io
 public void Dispose()
 {
     if (_disposed)
     {
         return;
     }
     _handler   = null;
     ReceiveKey = null;
     SendKey    = null;
     Manager    = null;
     Socket     = null;
     Character  = null;
     Account    = null;
     Player?.Dispose();
     Player         = null;
     Random         = null;
     ConnectedBuild = null;
     _disposed      = true;
 }
コード例 #2
0
 public void Dispose()
 {
     if (disposed)
     {
         return;
     }
     handler?.Dispose();
     handler    = null;
     ReceiveKey = null;
     SendKey    = null;
     Manager    = null;
     skt        = null;
     Character  = null;
     Account    = null;
     Player?.Dispose();
     Player   = null;
     Random   = null;
     disposed = true;
 }
コード例 #3
0
ファイル: Client.cs プロジェクト: garyandtaz321/Spook-Server
 public void BeginProcess()
 {
     log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}.");
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }
コード例 #4
0
 public void BeginProcess()
 {
     log.InfoFormat("Received client @ {0}.", skt.RemoteEndPoint);
     handler = new NetworkHandler(this, skt);
     handler.BeginHandling();
 }
コード例 #5
0
 public void Dispose()
 {
     if (disposed) return;
     handler?.Dispose();
     handler = null;
     ReceiveKey = null;
     SendKey = null;
     Manager = null;
     Socket = null;
     Character = null;
     Account = null;
     Player?.Dispose();
     Player = null;
     Random = null;
     ConnectedBuild = null;
     disposed = true;
 }
コード例 #6
0
 public void BeginProcess()
 {
     log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}.");
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }
コード例 #7
0
ファイル: Client.cs プロジェクト: patrick323/rotmg_svr
 public void BeginProcess()
 {
     handler = new NetworkHandler(this, skt);
     handler.BeginHandling();
 }
コード例 #8
0
ファイル: Client.cs プロジェクト: Jankos132/Server-Source
 public void BeginProcess()
 {
     log.InfoFormat("Received client @ {0}.", skt.RemoteEndPoint);
     handler = new NetworkHandler(this, skt);
     handler.BeginHandling();
 }
コード例 #9
0
ファイル: Client.cs プロジェクト: Bog624s/Zylixel.github.io
 public void BeginProcess()
 {
     Console.WriteLine($"Received client @ {Socket.RemoteEndPoint}.");
     _handler = new NetworkHandler(this, Socket);
     _handler.BeginHandling();
 }
コード例 #10
0
 public void BeginProcess()
 {
     handler = new NetworkHandler(this, skt);
     handler.BeginHandling();
 }