public static VendorInfo ReceiveVendorInfo(Socket Sock) { return((VendorInfo)ProtoBufSerialization.ObjectDeserializing(ReceiveData(Sock), ProtoBufSerialization.ObjectType.VendorObject)); }
public static OrderInfo ReceiveOrderInfo(Socket Sock) { return((OrderInfo)ProtoBufSerialization.ObjectDeserializing(ReceiveData(Sock), ProtoBufSerialization.ObjectType.OrderObject)); }