Class ListenerConfiguration

java.lang.Object
org.serviceconnector.conf.ListenerConfiguration

public class ListenerConfiguration extends Object
The Class ListenerConfiguration.
Author:
JTraber
  • Constructor Details

    • ListenerConfiguration

      public ListenerConfiguration(String name)
      The Constructor.
      Parameters:
      name - the listener name
  • Method Details

    • load

      public void load(org.apache.commons.configuration2.CompositeConfiguration compositeConfig, RemoteNodeListConfiguration remoteNodeListConfiguration) throws SCMPValidatorException
      Load the configurated items.
      Parameters:
      compositeConfig - the composite config
      remoteNodeListConfiguration - the remote node list configuration
      Throws:
      SCMPValidatorException - the sCMP validator exception
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • dump

      public void dump(XMLDumpWriter writer) throws Exception
      Dump the listener config into the xml writer.
      Parameters:
      writer - the writer
      Throws:
      Exception - the exception
    • getName

      public String getName()
      Gets the communicator name.
      Returns:
      the communicator name
    • getPort

      public int getPort()
      Gets the port.
      Returns:
      the port
    • getInterfaces

      public List<String> getInterfaces()
      Gets the interfaces.
      Returns:
      the interfaces
    • getConnectionType

      public String getConnectionType()
      Gets the connection type.
      Returns:
      the connection type
    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • getRemoteNodeConfiguration

      public RemoteNodeConfiguration getRemoteNodeConfiguration()
      Gets the remote node config.
      Returns:
      the remote node config
    • getPassword

      public String getPassword()
      Gets the password.
      Returns:
      the password
    • getNetworkInterfaces

      public List<String> getNetworkInterfaces()
      Gets the network interfaces.
      Returns:
      the network interfaces
    • setNetworkInterfaces

      public void setNetworkInterfaces(List<String> networkInterfaces)
      Sets the network interfaces.
      Parameters:
      networkInterfaces - the new network interfaces
    • setPort

      public void setPort(int port)
      Sets the port.
      Parameters:
      port - the new port
    • setConnectionType

      public void setConnectionType(String connectionType)
      Sets the connection type.
      Parameters:
      connectionType - the new connection type