Exemplo n.º 1
0
 public override void ReportMessage(IConnectInterface from, object c, ulong header, byte[] message)
 {
     if (this._handler != null)
     {
         this._handler.PutMesssage(from, c, 7, header, message);
     }
 }
Exemplo n.º 2
0
 public ecoMessage(IConnectInterface from, object c, int type, ulong header, object received)
 {
     this._from     = from;
     this._c        = c;
     this._type     = type;
     this._header   = header;
     this._attached = received;
 }
Exemplo n.º 3
0
 public ecoMessage()
 {
     this._c        = null;
     this._from     = null;
     this._type     = 0;
     this._header   = 0uL;
     this._attached = null;
 }
Exemplo n.º 4
0
 public virtual void PutMesssage(IConnectInterface receiver, object c, int type, ulong header, object message)
 {
     lock (this._lockHandler)
     {
         ecoMessage ecoMessage = new ecoMessage(receiver, c, type, header, message);
         if (ecoMessage != null && this._queueEcoMessage != null)
         {
             this._queueEcoMessage.Enqueue(ecoMessage);
             this._eventMessage.Set();
         }
     }
 }
Exemplo n.º 5
0
 public DispatchAttribute(DispatchAttribute attrib)
 {
     this.uid             = attrib.uid;
     this.vid             = attrib.vid;
     this.cid             = attrib.cid;
     this.type            = attrib.type;
     this.algorithm       = attrib.algorithm;
     this.data            = attrib.data;
     this.cbCallBack      = attrib.cbCallBack;
     this.cbCacheProcess  = attrib.cbCacheProcess;
     this.reloadDB        = attrib.reloadDB;
     this.discard_if_jam  = attrib.discard_if_jam;
     this.guid            = attrib.guid;
     this.alltype         = attrib.alltype;
     this.attached        = attrib.attached;
     this.operation       = attrib.operation;
     this.owner           = null;
     this._msgHandler     = attrib._msgHandler;
     this.block_no        = 0;
     this.dispatchPointer = -1;
     this.request         = "";
     this.tStart          = (long)Environment.TickCount;
 }
Exemplo n.º 6
0
 public DispatchAttribute()
 {
     this.uid             = 0;
     this.vid             = 0;
     this.type            = 0;
     this.cid             = 0L;
     this.algorithm       = 1;
     this.data            = null;
     this.cbCallBack      = null;
     this.cbCacheProcess  = null;
     this.owner           = null;
     this.block_no        = 0;
     this.dispatchPointer = -1;
     this.request         = "";
     this.reloadDB        = 1;
     this.discard_if_jam  = 0;
     this.guid            = "";
     this.alltype         = "";
     this.attached        = "";
     this.operation       = "";
     this.tStart          = (long)Environment.TickCount;
     this._msgHandler     = null;
 }
Exemplo n.º 7
0
 public virtual void ReportMessage(IConnectInterface from, object c, ulong header, byte[] message)
 {
 }
Exemplo n.º 8
0
 public virtual void DetachDispatcher(IConnectInterface comObj)
 {
 }