trait Output extends Channel
- Alphabetic
- By Inheritance
- Output
- Channel
- Channel
- Closeable
- AutoCloseable
- ConfigLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def !(p: Packet): 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
channel: InterruptibleChannel
- Definition Classes
- Channel
-
abstract
def
close(): Unit
- Definition Classes
- Channel → 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 actualDatagramChannelis 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 anIOExceptionif the transmitter was already connected, therefore be sure to checkisConnected()before.- Definition Classes
- Channel
- Annotations
- @throws( classOf[IOException] )
- Exceptions thrown
IOExceptionif 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 anReceiversharing 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 → 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
UDPorTCP
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )