trait Input extends Channel
- Alphabetic
- By Inheritance
- Input
- Channel
- Closeable
- AutoCloseable
- ConfigLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def action: Action
- abstract def action_=(fun: Action): Unit
- abstract def bufferSize: Int
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.
- returns
the buffer size in bytes.
- Definition Classes
- Channel → ConfigLike
- See also
#setBufferSize( int )
- abstract def close(): Unit
- Definition Classes
- Closeable → AutoCloseable
- Annotations
- @throws(classOf[java.io.IOException])
- abstract def codec: PacketCodec
- Definition Classes
- Channel → ConfigLike
- abstract def connect(): Unit
Establishes connection for transports requiring connectivity (e.g.
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 callingTransmitter.newUsing( "udp" )
, you are required to callconnect()
so that an actualDatagramChannel
is created and bound. For a <B>UDP</B> transmitter which was created with an explicitDatagramChannel
, this method does noting, so it is always safe to callconnect()
. However, for <B>TCP</B> transmitters, this may throw anIOException
if the transmitter was already connected, therefore be sure to checkisConnected()
before.- Definition Classes
- Channel
- Annotations
- @throws(classOf[IOException])
- Exceptions thrown
IOException
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 anReceiver
sharing the same socket was stopped before (unable to revive).- See also
#isConnected()
- abstract def dump(mode: Dump = Dump.Text, stream: PrintStream = Console.err, filter: Filter = Dump.AllPackets): Unit
Changes the way processed OSC messages are printed to the standard err console.
Changes the way processed OSC messages are printed to the standard err console. By default messages are not printed.
- mode
one of
Dump.Off
(don't dump, default),Dump.Text
(dump human readable string),Dump.Hex
(hexdump), orDump.Both
(both text and hex)- stream
the stream to print on
- Definition Classes
- Channel
- abstract def isConnected: Boolean
- Definition Classes
- Channel
- abstract def isOpen: Boolean
Queries whether the channel is still open.
Queries whether the channel is still open.
- Definition Classes
- Channel
- abstract def transport: Transport
Queries the transport protocol used by this communicator.
Queries the transport protocol used by this communicator.
- returns
the transport, such as
UDP
orTCP
- Definition Classes
- ConfigLike
- See also
#UDP
#TCP
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated