/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param portRange the network port range to which this listener will bind.. */ public NetworkListener(final String name, final String host, final PortRange portRange) { validateArg("name", name); validateArg("host", host); this.name = name; this.host = host; this.port = -1; this.portRange = portRange; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, which, * depending on <code>isBindToInherited</code> will or will not be bound to an inherited Channel.</p> * * @param name the logical name of the listener. * @param isBindToInherited if <tt>true</tt> the <code>NetworkListener</code> will be * bound to an inherited Channel, otherwise default {@link #DEFAULT_NETWORK_HOST} and {@link #DEFAULT_NETWORK_PORT} * will be used. * * @see System#inheritedChannel() */ public NetworkListener(final String name, final boolean isBindToInherited) { validateArg("name", name); this.name = name; this.isBindToInherited = isBindToInherited; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param portRange the network port range to which this listener will bind.. */ public NetworkListener(final String name, final String host, final PortRange portRange) { validateArg("name", name); validateArg("host", host); this.name = name; this.host = host; this.port = -1; this.portRange = portRange; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param portRange the network port range to which this listener will bind.. */ public NetworkListener(final String name, final String host, final PortRange portRange) { validateArg("name", name); validateArg("host", host); this.name = name; this.host = host; this.port = -1; this.portRange = portRange; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param portRange the network port range to which this listener will bind.. */ public NetworkListener(final String name, final String host, final PortRange portRange) { validateArg("name", name); validateArg("host", host); this.name = name; this.host = host; this.port = -1; this.portRange = portRange; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param portRange the network port range to which this listener will bind.. */ public NetworkListener(final String name, final String host, final PortRange portRange) { validateArg("name", name); validateArg("host", host); this.name = name; this.host = host; this.port = -1; this.portRange = portRange; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param port the network port to which this listener will bind.. */ public NetworkListener(final String name, final String host, final int port) { validateArg("name", name); validateArg("host", host); if (port < 0) { throw new IllegalArgumentException("Invalid port"); } this.name = name; this.host = host; this.port = port; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param port the network port to which this listener will bind.. */ public NetworkListener(final String name, final String host, final int port) { validateArg("name", name); validateArg("host", host); if (port < 0) { throw new IllegalArgumentException("Invalid port"); } this.name = name; this.host = host; this.port = port; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param port the network port to which this listener will bind.. */ public NetworkListener(final String name, final String host, final int port) { validateArg("name", name); validateArg("host", host); if (port < 0) { throw new IllegalArgumentException("Invalid port"); } this.name = name; this.host = host; this.port = port; isBindToInherited = false; }
/** * <p> Constructs a new <code>NetworkListener</code> using the specified <code>name</code>, <code>host</code>, and * <code>port</code>. </p> * * @param name the logical name of the listener. * @param host the network host to which this listener will bind. * @param port the network port to which this listener will bind.. */ public NetworkListener(final String name, final String host, final int port) { validateArg("name", name); validateArg("host", host); if (port < 0) { throw new IllegalArgumentException("Invalid port"); } this.name = name; this.host = host; this.port = port; isBindToInherited = false; }