Beispiel #1
0
 public Message BuildOfferAnswer(OfferRequestMessage initial, double price, int aviableQuantity)
 {
     return(new OfferAnswerMessage(myId, initial.From, initial.ProductInfo, price, aviableQuantity));
 }
Beispiel #2
0
 public Message ReadressOfferRequest(OfferRequestMessage initialMessage, String to)
 {
     return(new OfferRequestMessage(initialMessage.From, to, initialMessage.ProductInfo));
 }