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:
@@ -67,7 +67,7 @@ public class MiCasaClient
|
||||
createContextServices();
|
||||
|
||||
// for test purposes, hardcode the server info
|
||||
_client.setServer("localhost", 4007);
|
||||
_client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
|
||||
|
||||
// keep this for later
|
||||
_frame = frame;
|
||||
|
||||
@@ -44,7 +44,7 @@ public class Client
|
||||
{
|
||||
/** The default port on which the server listens for client
|
||||
* connections. */
|
||||
public static final int DEFAULT_SERVER_PORT = 4007;
|
||||
public static final int DEFAULT_SERVER_PORT = 47624;
|
||||
|
||||
/**
|
||||
* Constructs a client object with the supplied credentials and
|
||||
|
||||
@@ -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