Exemplo n.º 1
0
 public WampMessage <object> Hello(string realm, HelloDetails details)
 {
     return(mSerializer.SerializeRequest(mHello2, new object[] { realm, details }));
 }
Exemplo n.º 2
0
        public virtual void Hello(IWampSessionClient client, string realm, HelloDetails details)
        {
            IWampClientProxy <TMessage> wampClient = GetWampClient(client, realm, details);

            OnClientJoin(wampClient, details);
        }
Exemplo n.º 3
0
 public virtual void Hello(IWampSessionClient client, string realm, HelloDetails details)
 {
     mSession.Hello(client, realm, details);
 }
Exemplo n.º 4
0
 public void Hello(long sessionId, HelloDetails helloDetails, WelcomeDetails welcomeDetails, IWampSessionTerminator terminator)
 {
     RaiseSessionCreated(new WampSessionCreatedEventArgs(sessionId, helloDetails, welcomeDetails, terminator));
 }
Exemplo n.º 5
0
        protected IWampClientProxy <TMessage> GetWampClient(IWampSessionClient client, string realm, HelloDetails details)
        {
            IWampClientProxy <TMessage> wampClient = client as IWampClientProxy <TMessage>;

            IWampBindedRealm <TMessage> bindedRealm = mRealmContainer.GetRealmByName(realm);

            wampClient.HelloDetails = details;

            details.TransportDetails = wampClient.TransportDetails;

            wampClient.Realm = bindedRealm;

            return(wampClient);
        }
Exemplo n.º 6
0
 public void Hello(long session, HelloDetails helloDetails, WelcomeDetails welcomeDetails)
 {
     mRealmGate.Hello(session, helloDetails, welcomeDetails);
 }
Exemplo n.º 7
0
 public void Hello(IWampSessionClient client, string realm, HelloDetails details)
 {
     client.Welcome(83782, new WelcomeDetails());
 }