Switch the default port for the Presents system to the DirectPlay port.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3656 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -63,7 +63,7 @@ public class JabberClient
|
||||
createContextServices();
|
||||
|
||||
// for test purposes, hardcode the server info
|
||||
_client.setServer("localhost", 4007);
|
||||
_client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
|
||||
_client.addClientObserver(this);
|
||||
|
||||
// keep this for later
|
||||
|
||||
@@ -55,7 +55,7 @@ public class TestClient
|
||||
_client.addClientObserver(this);
|
||||
|
||||
// for test purposes, hardcode the server info
|
||||
_client.setServer("localhost", 4007);
|
||||
_client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
|
||||
}
|
||||
|
||||
public void run ()
|
||||
|
||||
@@ -67,7 +67,7 @@ public class JabberClient
|
||||
createContextServices(app);
|
||||
|
||||
// for test purposes, hardcode the server info
|
||||
_client.setServer("localhost", 4007);
|
||||
_client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
|
||||
_client.addClientObserver(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ public class TestClient
|
||||
Client client = new Client(creds, tclient);
|
||||
tclient.setClient(client);
|
||||
client.addClientObserver(tclient);
|
||||
client.setServer("localhost", 4007);
|
||||
client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
|
||||
client.logon();
|
||||
// start up our event processing loop
|
||||
tclient.run();
|
||||
|
||||
Reference in New Issue
Block a user