Ejemplo n.º 1
0
 internal static IRequestMessage Create(int clientid, string sessionid, ContractType contract)
 {
     return(new RequestMessagePacket(clientid, sessionid, (int)contract, MessageIDCreater.GetNewID(), "", null));
 }
Ejemplo n.º 2
0
 internal static IRequestMessage Create(int clientid, string sessionid, int contractid, string sign, byte[] body)
 {
     return(new RequestMessagePacket(clientid, sessionid, contractid, MessageIDCreater.GetNewID(), sign, body));
 }