|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.ServerPort
public class ServerPort
Represents a port on which the server will listen for connections. Used to aggregate information that the rest of the system needs regarding the port while hiding implementation details.
Nested Class Summary | |
---|---|
static class |
ServerPort.Type
|
Constructor Summary | |
---|---|
ServerPort(int port,
String name,
String address,
boolean isSecure,
String algorithm,
ServerPort.Type type)
|
Method Summary | |
---|---|
List<String> |
getDomainNames()
Returns the logical domains for this server port. |
String |
getIPAddress()
Returns the dot separated IP address for the server. |
int |
getPort()
Returns the port number that is being used. |
String |
getSecurityType()
Returns the basic protocol/algorithm being used to secure the port connections. |
ServerPort.Type |
getType()
|
boolean |
isClientPort()
Returns true if clients can connect to this port. |
boolean |
isComponentPort()
Returns true if external components can connect to this port. |
boolean |
isConnectionManagerPort()
Returns true if connection managers can connect to this port. |
boolean |
isSecure()
Determines if the connection is secure. |
boolean |
isServerPort()
Returns true if other servers can connect to this port for s2s communication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerPort(int port, String name, String address, boolean isSecure, String algorithm, ServerPort.Type type)
Method Detail |
---|
public int getPort()
public List<String> getDomainNames()
public String getIPAddress()
public boolean isSecure()
public String getSecurityType()
public boolean isServerPort()
public boolean isClientPort()
public boolean isComponentPort()
public boolean isConnectionManagerPort()
public ServerPort.Type getType()
|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |