Esempio n. 1
0
 /// <summary>
 /// Converts an IBM XMS session interface
 /// into an NMS session interface.
 /// </summary>
 /// <param name="xmsSession">IBM XMS session interface.</param>
 /// <returns>Apache NMS session interface.</returns>
 public static Apache.NMS.ISession ToNMSSession(
     IBM.XMS.ISession xmsSession)
 {
     return(xmsSession != null
                         ? new Apache.NMS.XMS.Session(xmsSession)
                         : null);
 }
Esempio n. 2
0
 public Session(IBM.XMS.ISession session)
 {
     this.xmsSession = session;
 }