Package com.cellasoft.jchat.server

Examples of com.cellasoft.jchat.server.LoginProxyInterface


            ActivationDesc dsServer = new ActivationDesc(SERVER_ACTIVATION_GROUP_ID, server_centrale, implCodebase, null);
            ServerInterface stub_server = (ServerInterface) Activatable.register(dsServer);
            System.out.println("E' stato creato l'activation descriptor del Server Centrale che e' stato registrato col demone d'attivazione");

            ActivationDesc dsAuth = new ActivationDesc(AUTH_ACTIVATION_GROUP_ID, server_auth, implCodebase, new MarshalledObject(stub_server));
            LoginProxyInterface stub_auth = (LoginProxyInterface) Activatable.register(dsAuth);
            System.out.println("E' stato creato l'activation descriptor del Server di Autenticazione che e' stato registrato col demone d'attivazione");
            System.out.println("Il server attivabile adesso puo' essere acceduto attraverso lo stub: " + stub_auth);

            System.out.println("Faccio il rebinding dello stub del Server di "
                             + "Autenticazione nel registro RMI alla porta 1098 dove già "
View Full Code Here

TOP

Related Classes of com.cellasoft.jchat.server.LoginProxyInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.