private void _Launch() { // _GhostRequest.OnPingEvent += _OnRequestPing; _GhostRequest.OnReleaseEvent += _SoulProvider.Unbind; _AgentCore.Initial(_GhostRequest); }
public void Launch() { _GhostRequest.PingEvent += _OnRequestPing; _GhostRequest.ReleaseEvent += _SoulProvider.Unbind; _Agent.ErrorMethodEvent += _ErrorMethodEvent; _Agent.ErrorVerifyEvent += _ErrorVerifyEvent; _Agent.Initial(_GhostRequest); }
void IStage.Enter() { Singleton <Log> .Instance.WriteInfo("Agent online enter."); Singleton <Log> .Instance.WriteInfo( string.Format( "Agent Socket Local {0} Remote {1}.", _Peer.LocalEndPoint, _Peer.RemoteEndPoint)); _Core.Initial(this); _Enable = true; _ReaderStart(); _WriterStart(); }