com.eurotech.framework.net.firewall
Interface FirewallOpenPortConfig

All Superinterfaces:
NetConfig
All Known Subinterfaces:
FirewallOpenPortConfig4
All Known Implementing Classes:
FirewallOpenPortConfigIP, FirewallOpenPortConfigIP4

public interface FirewallOpenPortConfig
extends NetConfig

Marker interface for firewall open port configurations

Author:
eurotech

Method Summary
 String getPermittedMac()
          Gets the (optional) permitted MAC address that is allowed to make inbound connections
 NetworkPair<? extends IPAddress> getPermittedNetwork()
          Gets the (optional) permitted remote network that can make inbound connections
 int getPort()
          Gets the port that is open for inbound connections
 NetProtocol getProtocol()
          Gets the type of network protocol (TCP or UDP) that is open for inbound connections
 String getSourcePortRange()
          Gets the (optional) permitted source port range that is allowed to make inbound connections
 
Methods inherited from interface com.eurotech.framework.net.NetConfig
isValid
 

Method Detail

getPort

int getPort()
Gets the port that is open for inbound connections

Returns:
The port number representing the inbound network port

getProtocol

NetProtocol getProtocol()
Gets the type of network protocol (TCP or UDP) that is open for inbound connections

Returns:
The NetProtocol type associated with this interface

getPermittedNetwork

NetworkPair<? extends IPAddress> getPermittedNetwork()
Gets the (optional) permitted remote network that can make inbound connections

Returns:
The NetworkPair representing the permitted network

getPermittedMac

String getPermittedMac()
Gets the (optional) permitted MAC address that is allowed to make inbound connections

Returns:
The MAC address that is allowed to make inbound connections

getSourcePortRange

String getSourcePortRange()
Gets the (optional) permitted source port range that is allowed to make inbound connections

Returns:
The source port range that is allowed to make inbound connections


Copyright © 2013. All Rights Reserved.