org.apache.tools.ant.taskdefs.condition
Class Socket
- Condition
Condition to wait for a TCP/IP socket to have a listener. Its attributes are:
server - the name of the server.
port - the port number of the socket.
- Ant 1.5
boolean | eval()
|
void | setPort(int port) - Set the port attribute
|
void | setServer(String server) - Set the server attribute
|
setPort
public void setPort(int port)
Set the port attribute
port
- the port number of the socket
setServer
public void setServer(String server)
Set the server attribute
server
- the server name
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.