Class GetAdminConsoleInfoTask
- java.lang.Object
-
- org.jivesoftware.openfire.container.GetAdminConsoleInfoTask
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<GetAdminConsoleInfoTask>
public class GetAdminConsoleInfoTask extends Object implements 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
nullbindInterface 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetAdminConsoleInfoTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAdminPort()StringgetAdminSecret()intgetAdminSecurePort()StringgetBindInterface()GetAdminConsoleInfoTaskgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public GetAdminConsoleInfoTask getResult()
- Specified by:
getResultin interfaceClusterTask<GetAdminConsoleInfoTask>
-
getBindInterface
public String getBindInterface()
-
getAdminPort
public int getAdminPort()
-
getAdminSecurePort
public int getAdminSecurePort()
-
getAdminSecret
public String getAdminSecret()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-