com.illposed.osc
Class OSCPortOut
java.lang.Object
com.illposed.osc.OSCPort
com.illposed.osc.OSCPortOut
public class OSCPortOut
- extends OSCPort
The Class OSCPortOut.
|
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 - InetAddressnewPort - int
- Throws:
java.net.SocketException - the socket exception
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.