public IWampChannel CreateChannel<TMessage>(string realm, IControlledWampConnection<TMessage> connection,
     IWampBinding<TMessage> binding, IWampClientAuthenticator authenticator)
 {
     WampChannelBuilder<TMessage> builder = GetChannelBuilder(binding);
     WampChannel<TMessage> channel = builder.CreateChannel(realm, connection, authenticator);
     return channel;
 }
Exemple #2
0
 public WampRealmProxyFactory(WampChannelBuilder <TMessage> parent,
                              string realmName,
                              IWampConnection <TMessage> connection,
                              IWampClientAuthenticator authenticator)
     : this(parent, realmName, connection)
 {
     mAuthenticator = authenticator;
 }
Exemple #3
0
 public WampRealmProxyFactory(WampChannelBuilder <TMessage> parent,
                              string realmName,
                              IWampConnection <TMessage> connection)
 {
     mParent     = parent;
     mRealmName  = realmName;
     mConnection = connection;
 }