Class Route

  • All Implemented Interfaces:
    java.lang.Comparable<Route>

    public class Route
    extends java.lang.Object
    implements java.lang.Comparable<Route>
    Class which maintains the destination address for sending messages to a given site, and the bridge channel to do so.
    Since:
    3.x
    Author:
    Bela Ban
    • Field Detail

      • site_master

        protected final Address site_master
        SiteUUID: address of the site master
      • bridge

        protected final JChannel bridge
      • relay

        protected final RELAY2 relay
      • log

        protected final Log log
      • stats

        protected boolean stats
    • Method Detail

      • siteMaster

        public Address siteMaster()
      • stats

        public boolean stats()
      • stats

        public Route stats​(boolean f)
      • compareTo

        public int compareTo​(Route o)
        Specified by:
        compareTo in interface java.lang.Comparable<Route>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object