public CtpResponse(byte[] clientID, byte id, object objValue, CtpRspInfo rspInfo = null) : this(clientID, id) { Item1 = new CtpAny(objValue); Item2 = rspInfo; UserID = ""; }
public CtpResponse(string userID, byte id, int intValue, CtpRspInfo rspInfo = null) : this(null, id) { Item1 = new CtpAny(intValue); Item2 = rspInfo; UserID = userID; }
public CtpRequest(byte[] clientID, byte id) { ClientID = clientID; TypeId = id; RequestID = 0; Args = new CtpAny(0); }
public CtpResponse(byte[] clientID, byte id) { ClientID = clientID; TypeId = id; Item1 = new CtpAny(0); Item2 = null; RequestID = 0; IsLast = true; UserID = ""; }
public CtpResponse(byte[] clientID, byte id, int intValue, CtpRspInfo rspInfo = null) : this(clientID, id) { Item1 = new CtpAny(intValue); Item2 = rspInfo; }
public CtpRequest(byte[] clientID, byte id, object data) : this(clientID, id) { Args = new CtpAny(data); }
public CtpRequest(byte id, object data, int requestID) : this(null, id) { Args = new CtpAny(data); RequestID = requestID; }