62 |
|
//---PUBLIC METHODS--- |
63 |
|
|
64 |
|
public InetAddress getFilterName(){ |
65 |
< |
// will return the most recient IP address (if it is dynamic for whatever reason |
65 |
> |
// will return the most recent IP address (if it is dynamic for whatever reason) |
66 |
|
try { |
67 |
|
return InetAddress.getByName(filterName); |
68 |
|
} |
76 |
|
/** |
77 |
|
* Used to retrieve the port to send UDP packets to on the filter |
78 |
|
* |
79 |
< |
* @return an integer corrisponding to the UDP port of the filter |
79 |
> |
* @return an integer corresponding to the UDP port of the filter |
80 |
|
*/ |
81 |
|
public int getFilterUDPPort(){ |
82 |
|
|
86 |
|
/** |
87 |
|
* Used to retrieve the port to send TCP heartbeats to on the filter |
88 |
|
* |
89 |
< |
* @return an integer corrisponding to the TCP of the filter |
89 |
> |
* @return an integer corresponding to the TCP of the filter |
90 |
|
*/ |
91 |
|
public int getFilterTCPPort(){ |
92 |
|
|