Class Interface


  • public class Interface
    extends java.lang.Object
    • Constructor Detail

      • Interface

        public Interface​(byte type,
                         byte protocol,
                         int port)
      • Interface

        public Interface()
    • Method Detail

      • cloneInterface

        public Interface cloneInterface()
      • canHandleRequest

        public boolean canHandleRequest​(AbstractRequest req)
        Return true if this interface will respond to request
      • toString

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

        public static final java.lang.String typeName​(byte type)
      • protocolName

        public static final java.lang.String protocolName​(byte protocol)
      • hashCode

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

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

        public static java.lang.String canProcessMsg​(AbstractRequest req,
                                                     boolean processQueries,
                                                     boolean processAdminRequests)