oscP5
Class OscPacket

java.lang.Object
  extended by oscP5.OscPatcher
      extended by oscP5.OscPacket
Direct Known Subclasses:
OscBundle, OscMessage

public abstract class OscPacket
extends OscPatcher


Constructor Summary
OscPacket()
           
 
Method Summary
 String address()
           
abstract  byte[] getBytes()
           
 NetAddress netaddress()
          Deprecated.  
 NetAddress netAddress()
           
 int port()
           
 TcpClient tcpConnection()
          when in TCP mode, tcpConnection() returns the instance of the TcpClient that has sent the OscMessage.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OscPacket

public OscPacket()
Method Detail

tcpConnection

public TcpClient tcpConnection()
when in TCP mode, tcpConnection() returns the instance of the TcpClient that has sent the OscMessage.

Returns:
TcpClient

port

public int port()

netAddress

public NetAddress netAddress()

netaddress

public NetAddress netaddress()
Deprecated. 

Returns:
NetAddress

address

public String address()
Returns:
String

getBytes

public abstract byte[] getBytes()
Returns:
byte[]


processing library oscP5 by Andreas Schlegel. (c) 2004-2012