protected void OnDisconnected(WebSocketCloseCode error) { DebugUtility.LogTrace(LoggerTags.Online, "{0} Disconnected : {1}", mHost, error); if (onDisconnected != null) { onDisconnected(error.ToNetCode()); } }