protected final OnConnectionFailed ( int errorCode, string errorMessage ) : void | ||
errorCode | int | |
errorMessage | string | |
return | 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);
}