netP5
Class TcpClient
java.lang.Object
netP5.AbstractTcpClient
netP5.TcpClient
- All Implemented Interfaces:
- java.lang.Runnable
public class TcpClient
- extends AbstractTcpClient
- Author:
- andreas schlegel
Constructor Summary |
TcpClient(AbstractTcpServer theTcpServer,
java.net.Socket theSocket,
TcpPacketListener theTcpPacketListener,
int theServerPort,
int theMode)
|
TcpClient(NetAddress theNetAddress)
|
TcpClient(java.lang.Object theObject,
NetAddress theNetAddress)
|
TcpClient(java.lang.Object theObject,
java.lang.String theAddress,
int thePort)
|
TcpClient(java.lang.Object theObject,
java.lang.String theAddress,
int thePort,
int theMode)
|
TcpClient(java.lang.String theAddress,
int thePort)
|
TcpClient(TcpPacketListener theListener,
java.lang.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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpClient
public TcpClient(java.lang.Object theObject,
java.lang.String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
TcpClient
public TcpClient(java.lang.Object theObject,
java.lang.String theAddress,
int thePort,
int theMode)
- Parameters:
theObject
- ObjecttheAddress
- StringthePort
- inttheMode
- int
TcpClient
public TcpClient(TcpPacketListener theListener,
java.lang.String theServerAddress,
int theServerPort,
int theMode)
- Parameters:
theListener
- TcpPacketListenertheServerAddress
- StringtheServerPort
- inttheMode
- int
TcpClient
public TcpClient(java.lang.Object theObject,
NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
TcpClient
public TcpClient(NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
TcpClient
public TcpClient(java.lang.String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
TcpClient
public TcpClient(AbstractTcpServer theTcpServer,
java.net.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 java.lang.String name()
- Returns:
- String
setName
public void setName(java.lang.String theName)
- Parameters:
theName
- String
processing library oscP5 by Andreas Schlegel. (c) 2010