예제 #1
0
 public int EIB_Cache_Read_Sync_async( ushort dst , EIBAddr src , EIBBuffer buf , ushort age )
 {
     byte[] head = new byte[6]; byte[] ibuf = head; this.buf = buf; this.ptr5 = src; ibuf[2] = (byte)((dst>>8)&0xff); ibuf[2 +1] = (byte)((dst)&0xff); ibuf[4] = (byte)((age>>8)&0xff); ibuf[4 +1] = (byte)((age)&0xff); ibuf[0] = (byte)((0x0074>>8)&0xff); ibuf[1] = (byte)((0x0074)&0xff); if (_EIB_SendRequest (ibuf) == -1) return -1; complete = new complete_t (EIB_Cache_Read_Sync_complete); return 0;
 }
예제 #2
0
 public int EIB_Cache_Read_Sync( ushort dst , EIBAddr src , EIBBuffer buf , ushort age )
 {
     if (EIB_Cache_Read_Sync_async (dst , src , buf , age ) == -1) return -1; return EIBComplete ();
 }
예제 #3
0
 public int EIBGetTPDU_async( EIBBuffer buf , EIBAddr src )
 {
     byte[] head = new byte[2]; byte[] ibuf = head; this.buf = buf; this.ptr5 = src; complete = new complete_t (EIBGetTPDU_complete); return 0;
 }
예제 #4
0
 public int EIBGetTPDU( EIBBuffer buf , EIBAddr src )
 {
     if (EIBGetTPDU_async (buf , src ) == -1) return -1; return EIBComplete ();
 }
예제 #5
0
 public int EIBGetGroup_Src_async( EIBBuffer buf , EIBAddr src , EIBAddr dest )
 {
     byte[] head = new byte[2]; byte[] ibuf = head; this.buf = buf; this.ptr5 = src; this.ptr6 = dest; complete = new complete_t (EIBGetGroup_Src_complete); return 0;
 }
예제 #6
0
 public int EIBGetGroup_Src( EIBBuffer buf , EIBAddr src , EIBAddr dest )
 {
     if (EIBGetGroup_Src_async (buf , src , dest ) == -1) return -1; return EIBComplete ();
 }