using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace XFramework.NetOuter
{
//定义TCP 连接事件接口
public interface ITcpHandler : INetMsgHandler, INetConnectChangedHandler,INetSender
{
///
/// 指定IP发送数据 服务器发向某客户端
///
/// 客户端地址
/// 数据
void SendNetMess(string ip, ProtocolBase protocol);
}
//网络连接 状态变化
public enum ConnectChangedEnum
{
///
/// 连接成功
///
connSuccess,
///
/// 断开连接
///
disconnection,
}
}