Class IncomingServerSessionInfo
- java.lang.Object
-
- org.jivesoftware.openfire.session.IncomingServerSessionInfo
-
- All Implemented Interfaces:
Externalizable
,Serializable
public class IncomingServerSessionInfo extends Object implements Externalizable
Incoming server session information to be used when running in a cluster. The session information is shared between cluster nodes and is meant to be used by remote sessions to avoid invocation remote calls and instead use cached information. Note that instances of this class typically contain a snapshot of some of the data of aLocalIncomingServerSession
instance. Updates to that parent instance are not automatically reflected in instances of this class.- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncomingServerSessionInfo()
IncomingServerSessionInfo(LocalIncomingServerSession serverSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeID
getNodeID()
Set<String>
getValidatedDomains()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
IncomingServerSessionInfo
public IncomingServerSessionInfo()
-
IncomingServerSessionInfo
public IncomingServerSessionInfo(@Nonnull LocalIncomingServerSession serverSession)
-
-
Method Detail
-
getNodeID
public NodeID getNodeID()
-
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
-
-