Interface OscConnection


public interface OscConnection
This interface lets you send OscMessage through an connection which can be via Tcp, Udp, or whatever. OscPackets are sent when all the startBundle() have a matching endBundle(). If you call sendMessage() with startBundle() before, then the message will be sent directly. Our maximum packet size is 64K.
Since:
API version 5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Finishes the previous bundle, and if it was not inside an other bundle, it will send the message directly.
    void
    sendMessage(String address, Object... args)
    Supported object types: - Integer for int32 - Long for int64 - Float for float - Double for double - null for nil - Boolean for true and false - String for string - byte[] for blob
    void
    Starts an OscBundle.