private Datagram ProcessCurrency(Datagram requestDatagram) { Datagram result = Datagram.GetResponse(requestDatagram); result.FullDatagram = new byte[] { 0xAA, 0xBB, 0x00, 0x09, 0xA0, 0x0A, 0x00, 0x00, 0x00 }; return(result); }
private Datagram ProcessBlacklistDownload(Datagram requestDatagram) { Datagram result = Datagram.GetResponse(requestDatagram); result.FullDatagram = new byte[] { 0xAA, 0xBB, 0x00, 0x1A, 0xA0, 0x06, 0x00, 0x00, 0x64, 0x07, 0xD5, (byte)'H', (byte)'D', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5', (byte)'6', (byte)'7', (byte)'8', 0x00, 0x00, 0x00 }; return(result); }
private Datagram ProcessLogin(Datagram requestDatagram) { Datagram result = Datagram.GetResponse(requestDatagram); result.FullDatagram = new byte[] { 0xAA, 0xBB, 0x00, 0x10, 0xA0, 0x03, 0x00, 0x0C, 0x05, 0x10, 0x08, 0x09, 0x0A, 0x00, 0x00, 0x00 }; return(result); }
private Datagram ProcessBlacklistQuery(Datagram requestDatagram) { Datagram result = Datagram.GetResponse(requestDatagram); result.FullDatagram = new byte[] { 0xAA, 0xBB, 0x00, 0x0D, 0xA0, 0x05, 0x0C, 0x05, 0x02, 0x00, 0x64, 0x00, 0x00 }; return(result); }
private Datagram ProcessHeartbeat(Datagram requestDatagram) { Datagram result = Datagram.GetResponse(requestDatagram); result.FullDatagram = new byte[] { 0xAA, 0xBB, 0x00, 0x08, 0xA0, 0x01, 0x00, 0x00 }; return(result); }