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