org.apache.tools.ant.taskdefs.optional.sitraka

Class Socket

public class Socket extends 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;/>
Method Summary
voidsetHost(String value)
the host name/ip of the machine on which the Viewer is running; defaults to localhost.
voidsetPort(Integer value)
Optional port number for the viewer; default is 4444
StringtoString()
if no host is set, returning ':<port>', will take localhost

Method Detail

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-2007 Apache Software Foundation. All Rights Reserved.