Class RelayConfig.ForwardConfig

  • Enclosing class:
    RelayConfig

    public static class RelayConfig.ForwardConfig
    extends java.lang.Object
    Forwards to site 'to' via route 'gateway'. Example: if site HF is reachable via NET1, if NET2 is not directly connected to HF, it needs to have a ForwardConfig with to="HF" and gateway="NET1". This means that a message to site HF will be forwarded to NET1, which then forwards it to HF.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String gateway  
      protected java.lang.String to  
    • Constructor Summary

      Constructors 
      Constructor Description
      ForwardConfig​(java.lang.String to, java.lang.String gateway)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String gateway()  
      java.lang.String to()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • to

        protected final java.lang.String to
      • gateway

        protected final java.lang.String gateway
    • Constructor Detail

      • ForwardConfig

        public ForwardConfig​(java.lang.String to,
                             java.lang.String gateway)
    • Method Detail

      • gateway

        public java.lang.String gateway()
      • to

        public java.lang.String to()
      • toString

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