public class Socket extends ProjectComponent implements Condition
| Constructor and Description | 
|---|
| Socket() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | eval()Is this condition true? | 
| void | setPort(int port)Set the port attribute | 
| void | setServer(String server)Set the server attribute | 
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic boolean eval()
             throws BuildException
Conditioneval in interface ConditionBuildException - if the attributes are not setpublic void setPort(int port)
port - the port number of the socketpublic void setServer(String server)
server - the server name