Class GetAdminConsoleInfoTask
java.lang.Object
org.jivesoftware.openfire.container.GetAdminConsoleInfoTask
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<GetAdminConsoleInfoTask>
Task that will return the bind interface and ports being used by the admin
console of the node where the task will be executed. When the admin console
is binded to all network interfaces this task will try to find a valid IP
address that will work for the remote node.
A null bindInterface in the result of this task means that the task
failed to find a valid IP address where the admin console is listening.
- Author:
- Gaston Dombiak
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GetAdminConsoleInfoTask
public GetAdminConsoleInfoTask()
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceClusterTask<GetAdminConsoleInfoTask>
-
run
public void run() -
getBindInterface
-
getAdminPort
public int getAdminPort() -
getAdminSecurePort
public int getAdminSecurePort() -
getAdminSecret
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-