1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +01:00

Added #getPort() method.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2413 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-11-06 14:57:43 +00:00 committed by gaston
parent d800f901a9
commit 658db03783

View file

@ -177,6 +177,10 @@ public abstract class SmackTestCase extends TestCase {
return host;
}
protected int getPort() {
return port;
}
/**
* Returns the default groupchat service domain.
*
@ -198,6 +202,9 @@ public abstract class SmackTestCase extends TestCase {
protected void setUp() throws Exception {
super.setUp();
init();
if (getMaxConnections() < 1) {
return;
}
connections = new XMPPConnection[getMaxConnections()];
try {
// Connect to the server