Package org.jdesktop.wonderland.client.comms

Examples of org.jdesktop.wonderland.client.comms.WonderlandServerInfo


                        "server found for " + getDetails().getServerURL());
            }

            // choose a Darkstar server to connect to
            DarkstarServer ds = getDetails().getDarkstarServers().get(0);
            WonderlandServerInfo serverInfo =
                    new WonderlandServerInfo(ds.getHostname(), ds.getPort());

            // use the session creator to create a new session
            T session = creator.createSession(this, serverInfo,
                                              loginControl.getClassLoader());
View Full Code Here


        // read server and port from properties
        String server = System.getProperty("sgs.server", "locahost");
        int port = Integer.parseInt(System.getProperty("sgs.port", "1139"));

        // create a login information object
        WonderlandServerInfo serverInfo = new WonderlandServerInfo(server, port);

        // the main client
        ClientMain cm = new ClientMain(serverInfo);

        try {
View Full Code Here

        // read server and port from properties
        String server = System.getProperty("sgs.server", "locahost");
        int port = Integer.parseInt(System.getProperty("sgs.port", "1139"));

        // create a login information object
        WonderlandServerInfo serverInfo = new WonderlandServerInfo(server, port);

        // the main client
        ClientMain cm = new ClientMain(serverInfo);

        try {
View Full Code Here

        // read server and port from properties
        String server = System.getProperty("sgs.server", "locahost");
        int port = Integer.parseInt(System.getProperty("sgs.port", "1139"));

        // create a login information object
        WonderlandServerInfo serverInfo = new WonderlandServerInfo(server, port);

        // the main client
        ClientMain cm = new ClientMain(serverInfo);

        try {
View Full Code Here

        // read server and port from properties
        String server = System.getProperty("sgs.server", "locahost");
        int port = Integer.parseInt(System.getProperty("sgs.port", "1139"));

        // create a login information object
        WonderlandServerInfo serverInfo = new WonderlandServerInfo(server, port);

        // the main client
        ClientMain cm = new ClientMain(serverInfo);

        try {
View Full Code Here

        centerPanel.add(boundsPanel, BorderLayout.CENTER);
        this.setSize(640,480);
       
        long userNum = System.currentTimeMillis();
       
        WonderlandServerInfo server = new WonderlandServerInfo(serverName,
                                                  Integer.parseInt(serverPort));
       
        LoginParameters loginParams = new LoginParameters(userName,
                                                          "test".toCharArray());
       
View Full Code Here

            // remember the session
            sessions.put(dr, session);

            // make a note of the new connection
            WonderlandServerInfo info = session.getServerInfo();
            PingData note = new PingData();
            note.setPingNoteTitle("Connected to server");
            note.setPingNoteText("Connected to server " + info.getHostname() +
                                 ":" + info.getSgsPort());
            data.add(note);
        } catch (LoginFailureException le) {
            logger.log(Level.WARNING, "Unable to log in to server " +
                       ServerInfo.getServerURL(), le);
        }
View Full Code Here

                                              SERVER_PORT_DEFAULT);
        String userName   = props.getProperty(USER_NAME_PROP,
                                              USER_NAME_DEFAULT);
      
        // create server login information
        WonderlandServerInfo server = new WonderlandServerInfo(serverName,
                                               Integer.parseInt(serverPort));

        // read setup properties
        groupSize = Integer.parseInt(props.getProperty(GROUP_SIZE_PROP,
                                                       GROUP_SIZE_DEFAULT));
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.comms.WonderlandServerInfo

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.