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
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetAdminConsoleInfoTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAdminPort()
String
getAdminSecret()
int
getAdminSecurePort()
String
getBindInterface()
GetAdminConsoleInfoTask
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public GetAdminConsoleInfoTask getResult()
- Specified by:
getResult
in 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:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-