Queries the transport protocol used by this communicator.
Queries the transport protocol used by this communicator.
the transport, such as UDP
or TCP
#TCP
#UDP
Queries the buffer size used for coding or decoding OSC messages.
Queries the buffer size used for coding or decoding OSC messages. This is the maximum size an OSC packet (bundle or message) can grow to.
the buffer size in bytes.
#setBufferSize( int )
Establishes connection for transports requiring connectivity (e.
Establishes connection for transports requiring
connectivity (e.g. TCP). For transports that do not require connectivity (e.g. UDP),
this ensures the communication channel is created and bound.
<P>
When a <B>UDP</B> transmitter
is created without an explicit DatagramChannel
– say by
calling Transmitter.newUsing( "udp" )
, you are required
to call connect()
so that an actual DatagramChannel
is
created and bound. For a <B>UDP</B> transmitter which was created with an explicit
DatagramChannel
, this method does noting, so it is always safe
to call connect()
. However, for <B>TCP</B> transmitters,
this may throw an IOException
if the transmitter
was already connected, therefore be sure to check isConnected()
before.
if a networking error occurs. Possible reasons: - the underlying
network channel had been closed by the server. - the transport
is TCP and the server is not available. - the transport is TCP
and an Receiver
sharing the same socket was stopped before (unable to revive).
#isConnected()
Changes the way incoming and outgoing OSC messages are printed to the standard err console.
Changes the way incoming and outgoing OSC messages are printed to the standard err console. By default messages are not printed.
one of kDumpOff
(don't dump, default),
kDumpText
(dump human readable string),
kDumpHex
(hexdump), or
kDumpBoth
(both text and hex)
the stream to print on
Changes the way incoming messages are dumped to the console.
Changes the way incoming messages are dumped
to the console. By default incoming messages are not
dumped. Incoming messages are those received
by the client from the server, before they
get delivered to registered OSCListener
s.
see dump
for details
the stream to print on
#dumpOut( Dump, PrintStream, Dump.Filter )
#dump( Dump, PrintStream, Dump.Filter )
Changes the way outgoing messages are dumped to the console.
Changes the way outgoing messages are dumped
to the console. By default outgoing messages are not
dumped. Outgoing messages are those send via
send
.
see dump
for details
the stream to print on
#dumpIn( Dump, PrintStream, Dump.Filter )
#dump( Dump, PrintStream, Dump.Filter )
Queries whether the channel is still open.
Queries whether the channel is still open.