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

The Class OSCPortOut.


Field Summary
 
Fields inherited from class com.illposed.osc.OSCPort
defaultSCLangOSCPort, defaultSCOSCPort
 
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)
          Send.
 
Methods inherited from class com.illposed.osc.OSCPort
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 - the unknown host exception
java.net.SocketException - the socket exception

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 - the socket exception

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 - the socket exception
Method Detail

send

public void send(OSCPacket aPacket)
          throws java.io.IOException
Send.

Parameters:
aPacket - OSCPacket
Throws:
java.io.IOException - Signals that an I/O exception has occurred.