Class 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() and equals(Object) methods are made final to ensure subclasses compare on object identity.

    Author:
    Robert Varga
    • Constructor Detail

      • BackendInfo

        protected BackendInfo​(akka.actor.ActorRef actor,
                              String name,
                              long sessionId,
                              org.opendaylight.controller.cluster.access.ABIVersion version,
                              int maxMessages)
    • Method Detail

      • getActor

        public final akka.actor.ActorRef getActor()
      • getName

        public final String getName()
      • getVersion

        public final org.opendaylight.controller.cluster.access.ABIVersion getVersion()
      • getMaxMessages

        public final int getMaxMessages()
      • getSessionId

        public final long getSessionId()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • addToStringAttributes

        protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes​(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)