Package fr.dyade.aaa.jndi2.distributed
Class InitJndiServerNot
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.jndi2.distributed.InitJndiServerNot
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class InitJndiServerNot extends Notification
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private NamingContextInfo[]contextsprivate booleanisRequestIndicates whether this notification is a request (spontaneously sent) or a reply to a request.private AgentId[]jndiServerIdsprivate static longserialVersionUID-
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description InitJndiServerNot(AgentId[] jndiServerIds, NamingContextInfo[] contexts, boolean isRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamingContextInfo[]getContexts()AgentId[]getJndiServerIds()booleanisRequest()StringBuildertoString(StringBuilder output)Appends a string image for this object to the StringBuilder parameter.-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, decode, encode, getContext, getDeadNotificationAgentId, getEncodableClassId, getEncodedSize, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
jndiServerIds
private AgentId[] jndiServerIds
-
contexts
private NamingContextInfo[] contexts
-
isRequest
private boolean isRequest
Indicates whether this notification is a request (spontaneously sent) or a reply to a request.
-
-
Constructor Detail
-
InitJndiServerNot
public InitJndiServerNot(AgentId[] jndiServerIds, NamingContextInfo[] contexts, boolean isRequest)
-
-
Method Detail
-
getJndiServerIds
public final AgentId[] getJndiServerIds()
-
getContexts
public final NamingContextInfo[] getContexts()
-
isRequest
public final boolean isRequest()
-
toString
public StringBuilder toString(StringBuilder output)
Appends a string image for this object to the StringBuilder parameter.- Overrides:
toStringin classNotification- Parameters:
output- buffer to fill in- Returns:
outputbuffer is returned
-
-