com.illposed.osc
Class OSCPortOut
java.lang.Object
com.illposed.osc.OSCPort
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
send
public void send(OSCPacket aPacket)
throws java.io.IOException
- Parameters:
aPacket
- OSCPacket
- Throws:
java.io.IOException