netP5
Class TcpClient
java.lang.Object
netP5.AbstractTcpClient
netP5.TcpClient
- All Implemented Interfaces:
- Runnable
public class TcpClient
- extends AbstractTcpClient
- Author:
- andreas schlegel
Constructor Summary |
TcpClient(AbstractTcpServer theTcpServer,
Socket theSocket,
TcpPacketListener theTcpPacketListener,
int theServerPort,
int theMode)
|
TcpClient(NetAddress theNetAddress)
|
TcpClient(Object theObject,
NetAddress theNetAddress)
|
TcpClient(Object theObject,
String theAddress,
int thePort)
|
TcpClient(Object theObject,
String theAddress,
int thePort,
int theMode)
|
TcpClient(String theAddress,
int thePort)
|
TcpClient(TcpPacketListener theListener,
String theServerAddress,
int theServerPort,
int theMode)
|
Methods inherited from class netP5.AbstractTcpClient |
dispose, equals, equals, getString, getStringBuffer, listener, mode, netaddress, netAddress, reconnect, run, send, send, send, serverport, setTerminator, socket |
TcpClient
public TcpClient(Object theObject,
String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
TcpClient
public TcpClient(Object theObject,
String theAddress,
int thePort,
int theMode)
- Parameters:
theObject
- ObjecttheAddress
- StringthePort
- inttheMode
- int
TcpClient
public TcpClient(TcpPacketListener theListener,
String theServerAddress,
int theServerPort,
int theMode)
- Parameters:
theListener
- TcpPacketListenertheServerAddress
- StringtheServerPort
- inttheMode
- int
TcpClient
public TcpClient(Object theObject,
NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
TcpClient
public TcpClient(NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
TcpClient
public TcpClient(String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
TcpClient
public TcpClient(AbstractTcpServer theTcpServer,
Socket theSocket,
TcpPacketListener theTcpPacketListener,
int theServerPort,
int theMode)
handleStatus
public void handleStatus(int theIndex)
- Specified by:
handleStatus
in class AbstractTcpClient
- Parameters:
theIndex
- int
handleInput
public void handleInput()
- Specified by:
handleInput
in class AbstractTcpClient
name
public String name()
- Returns:
- String
setName
public void setName(String theName)
- Parameters:
theName
- String
processing library oscP5 by Andreas Schlegel. (c) 2004-2012