예제 #1
0
 public override void ConnectNetWork(DataResponsible responsible)
 {
     if (connectNetWorkNotic != null)
     {
         connectNetWorkNotic.BeginInvoke(responsible, null, null);
     }
 }
예제 #2
0
 /// <summary>
 /// 连接上网络
 /// </summary>
 public virtual void ConnectNetWork(DataResponsible responsible)
 {
 }
예제 #3
0
 public abstract void Init(DataResponsible responsible);
예제 #4
0
 /// <summary>
 /// 默认构造方法
 /// </summary>
 private ModuleDispather()
 {
     dataResponsible = new DataResponsible();
 }
예제 #5
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="responsible">数据发送接口</param>
 public override void Init(DataResponsible responsible)
 {
     this.DataResponsible = responsible;
 }
예제 #6
0
 protected virtual void OnConnectNetWorkNotic(DataResponsible responsible)
 {
 }
예제 #7
0
 protected abstract void Init(DataResponsible responsible);