PhotonWire.Server.ServerToServer.PhotonWireOutboundS2SPeer.OnConnectionFailed C# (CSharp) 메소드

OnConnectionFailed() 보호된 최종 메소드

protected final OnConnectionFailed ( int errorCode, string errorMessage ) : void
errorCode int
errorMessage string
리턴 void
        protected override sealed void OnConnectionFailed(int errorCode, string errorMessage)
        {
            lock (connectionLock)
            {
                if (connectionFuture != null) connectionFuture.TrySetResult(false);
                connectionFuture = null;
            }
            var appName = PhotonWireApplicationBase.Instance.ApplicationName;
            PhotonWireApplicationBase.Instance.Logger.OutboundS2SPeerConnectionFailed(appName, RemoteIP, RemotePort, errorCode, errorMessage);
            OnConnectionFailedCore(errorCode, errorMessage);
        }