Class RemoteSessionTask
- java.lang.Object
-
- org.jivesoftware.openfire.session.RemoteSessionTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Object>
- Direct Known Subclasses:
ClientSessionTask
,ComponentSessionTask
,ConnectionMultiplexerSessionTask
,IncomingServerSessionTask
,OutgoingServerSessionTask
public abstract class RemoteSessionTask extends Object implements ClusterTask<Object>
Operations to be executed in a remote session hosted in a remote cluster node.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteSessionTask.Operation
-
Field Summary
Fields Modifier and Type Field Description protected RemoteSessionTask.Operation
operation
protected Object
result
-
Constructor Summary
Constructors Modifier Constructor Description RemoteSessionTask()
protected
RemoteSessionTask(RemoteSessionTask.Operation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
result
protected Object result
-
operation
protected RemoteSessionTask.Operation operation
-
-
Constructor Detail
-
RemoteSessionTask
public RemoteSessionTask()
-
RemoteSessionTask
protected RemoteSessionTask(RemoteSessionTask.Operation operation)
-
-
Method Detail
-
getResult
public Object getResult()
- Specified by:
getResult
in interfaceClusterTask<Object>
-
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
-
-