public static IDuplexSession CreateServerSession(MakeConnectionDuplexSessionServiceChannel channel, ISession innerSession)
        {
            if (innerSession is ISecureConversationSession)
            {
                return(new MakeConnectionDuplexServerSecureConversationSession(channel, innerSession));
            }
            else if (innerSession is ISecuritySession)
            {
                return(new MakeConnectionDuplexServerSecuritySession(channel, innerSession));
            }

            return(new MakeConnectionDuplexServerSession(channel, innerSession));
        }
 public MakeConnectionDuplexServerSession(MakeConnectionDuplexSessionServiceChannel channel, ISession innerSession)
     : base((IDefaultCommunicationTimeouts)channel, innerSession)
 {
     this.channel = channel;
 }
 public MakeConnectionDuplexServerSecuritySession(MakeConnectionDuplexSessionServiceChannel channel, ISession innerSession)
     : base(channel, innerSession)
 {
 }