Exemplo n.º 1
0
 public void MessageTransfer(String destination,
                             MessageAcceptMode acceptMode,
                             MessageAcquireMode acquireMode,
                             Header header,
                             String body,
                             params Option[] options)
 {
     MessageTransfer(destination, acceptMode, acquireMode, header,
                     new MemoryStream(Convert.ToByte(body)), options);
 }
Exemplo n.º 2
0
 public void MessageTransfer(String Destination, MessageAcceptMode AcceptMode, MessageAcquireMode AcquireMode, Header header, MemoryStream body, params Option[] options) {
     Invoke(new MessageTransfer(Destination, AcceptMode, AcquireMode, header, body, options));
 }
Exemplo n.º 3
0
 public void MessageTransfer(String destination,
                             MessageAcceptMode acceptMode,
                             MessageAcquireMode acquireMode,
                             Header header,
                             byte[] body,
                             params Option[] options)
 {
     MemoryStream mbody = new MemoryStream();
     mbody.Write(body,0, body.Length);
     MessageTransfer(destination, acceptMode, acquireMode, header,
                     mbody, options);
 }