Class BackendInfo
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.client.BackendInfo
-
public class BackendInfo extends Object
Basic information about how to talk to the backend. ClientActorBehavior uses this information to dispatch requests to the backend.This class is not final so concrete actor behavior implementations may subclass it and track more information about the backend. The
hashCode()andequals(Object)methods are made final to ensure subclasses compare on object identity.- Author:
- Robert Varga
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBackendInfo(ActorRef actor, String name, long sessionId, ABIVersion version, int maxMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MoreObjects.ToStringHelperaddToStringAttributes(MoreObjects.ToStringHelper toStringHelper)booleanequals(Object obj)ActorRefgetActor()intgetMaxMessages()StringgetName()longgetSessionId()ABIVersiongetVersion()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
BackendInfo
protected BackendInfo(ActorRef actor, String name, long sessionId, ABIVersion version, int maxMessages)
-
-
Method Detail
-
getActor
public final ActorRef getActor()
-
getName
public final String getName()
-
getVersion
public final ABIVersion getVersion()
-
getMaxMessages
public final int getMaxMessages()
-
getSessionId
public final long getSessionId()
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)
-
-