com.illposed.osc
Class OSCPortOut

java.lang.Object
  extended by com.illposed.osc.OSCPort
      extended by com.illposed.osc.OSCPortOut

public class OSCPortOut
extends OSCPort


Constructor Summary
OSCPortOut()
          Create an OSCPort that sends to localhost, on the standard SuperCollider port Default the address to localhost Default the port to the standard one for SuperCollider
OSCPortOut(java.net.InetAddress newAddress)
          Create an OSCPort that sends to newAddress, on the standard SuperCollider port
OSCPortOut(java.net.InetAddress newAddress, int newPort)
          Create an OSCPort that sends to newAddress, newPort
 
Method Summary
 void send(OSCPacket aPacket)
           
 
Methods inherited from class com.illposed.osc.OSCPort
close, defaultSCLangOSCPort, defaultSCOSCPort
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSCPortOut

public OSCPortOut(java.net.InetAddress newAddress,
                  int newPort)
           throws java.net.SocketException
Create an OSCPort that sends to newAddress, newPort

Parameters:
newAddress - InetAddress
newPort - int
Throws:
java.net.SocketException

OSCPortOut

public OSCPortOut(java.net.InetAddress newAddress)
           throws java.net.SocketException
Create an OSCPort that sends to newAddress, on the standard SuperCollider port

Parameters:
newAddress - InetAddress Default the port to the standard one for SuperCollider
Throws:
java.net.SocketException

OSCPortOut

public OSCPortOut()
           throws java.net.UnknownHostException,
                  java.net.SocketException
Create an OSCPort that sends to localhost, on the standard SuperCollider port Default the address to localhost Default the port to the standard one for SuperCollider

Throws:
java.net.UnknownHostException
java.net.SocketException
Method Detail

send

public void send(OSCPacket aPacket)
          throws java.io.IOException
Parameters:
aPacket - OSCPacket
Throws:
java.io.IOException