org.apache.tools.ant.taskdefs.optional.sitraka
Class Socket
java.lang.Object
org.apache.tools.ant.taskdefs.optional.sitraka.Socket
public class Socket
extends java.lang.Object
Define a host and port to connect to if you want to do remote viewing.
<socket/> defaults to host 127.0.0.1 and port 4444
Otherwise it requires the host and port attributes to be set:
<socket host="e;175.30.12.1"e; port="e;4567"e;/>
void | setHost(String value) - the host name/ip of the machine on which the Viewer is running;
defaults to localhost.
|
void | setPort(Integer value) - Optional port number for the viewer; default is 4444
|
String | toString() - if no host is set, returning ':<port>', will take localhost
|
setHost
public void setHost(String value)
the host name/ip of the machine on which the Viewer is running;
defaults to localhost.
setPort
public void setPort(Integer value)
Optional port number for the viewer; default is 4444
toString
public String toString()
if no host is set, returning ':<port>', will take localhost
Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.