com.cycling74.net
Class TcpSender

java.lang.Object
  extended by com.cycling74.net.TcpSender

public class TcpSender
extends Object

Class wrapper to send atoms via TCP/IP. The host on the other side must use TcpReceive to read the sended atoms. This class is a work in progress and have been lightly tested.


Constructor Summary
TcpSender()
           
TcpSender(String address, int port)
           
 
Method Summary
 String getAddress()
           
 int getPort()
           
 void send(Atom[] args)
           
 void send(float f)
           
 void send(int i)
           
 void send(String msg)
           
 void setAddress(String address)
           
 void setPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpSender

public TcpSender()

TcpSender

public TcpSender(String address,
                 int port)
Method Detail

send

public void send(Atom[] args)

send

public void send(int i)

send

public void send(float f)

send

public void send(String msg)

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

getPort

public int getPort()

setPort

public void setPort(int port)


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