com.cycling74.net
Class TcpReceiver

java.lang.Object
  extended by com.cycling74.net.TcpReceiver
All Implemented Interfaces:
Runnable

public class TcpReceiver
extends Object
implements Runnable

Class wrapper to receive atoms via TCP/IP using the class TcpSender. This class is a work in progress and have been lightly tested.


Constructor Summary
TcpReceiver()
           
TcpReceiver(int port)
           
TcpReceiver(int port, Object caller, String method)
           
 
Method Summary
 void close()
           
 int getPort()
           
 void run()
           
 void setActive(boolean active)
           
 void setCallback(Object caller, String methodName)
           
 void setDebugString(String debugString)
           
 void setPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpReceiver

public TcpReceiver()

TcpReceiver

public TcpReceiver(int port)

TcpReceiver

public TcpReceiver(int port,
                   Object caller,
                   String method)
Method Detail

close

public void close()

getPort

public int getPort()

setActive

public void setActive(boolean active)

setCallback

public void setCallback(Object caller,
                        String methodName)

setPort

public void setPort(int port)

setDebugString

public void setDebugString(String debugString)

run

public void run()
Specified by:
run in interface Runnable


This API is based on mxj for Max/MSP by Cycling74. Please see original MXJ implementation.