gr.uoa.di.madgik.commons.server
Class PortRange

java.lang.Object
  extended by gr.uoa.di.madgik.commons.server.PortRange

public class PortRange
extends java.lang.Object

Utility class giving Start and End semantics of a Port range definition

Author:
gpapanikos

Constructor Summary
PortRange(int Start, int End)
          Creates a new Range
 
Method Summary
 int GetEnd()
          The End of the range
 int GetStart()
          The Start of the range
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortRange

public PortRange(int Start,
                 int End)
Creates a new Range

Parameters:
Start - The start of the range
End - The inclusive end of the range
Method Detail

GetStart

public int GetStart()
The Start of the range

Returns:
The range start

GetEnd

public int GetEnd()
The End of the range

Returns:
The inclusive range end