com.cycling74.net
Class UdpReceiver

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

public class UdpReceiver
extends Object
implements Runnable

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


Constructor Summary
UdpReceiver()
           
UdpReceiver(int port)
           
 
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

UdpReceiver

public UdpReceiver()

UdpReceiver

public UdpReceiver(int port)
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.