Trait/Object

de.sciss.osc

Transmitter

Related Docs: object Transmitter | package osc

Permalink

trait Transmitter extends Output

Linear Supertypes
Output, Single, Channel, java.nio.channels.Channel, Closeable, AutoCloseable, ConfigLike, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transmitter
  2. Output
  3. Single
  4. Channel
  5. Channel
  6. Closeable
  7. AutoCloseable
  8. ConfigLike
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def channel: InterruptibleChannel

    Permalink
    Definition Classes
    Channel
  2. abstract def config: Config

    Permalink
    Attributes
    protected
    Definition Classes
    Channel
  3. abstract def connectChannel(): Unit

    Permalink

    Requests to connect the network channel.

    Requests to connect the network channel. This may be called several times, and the implementation should ignore the call when the channel is already connected.

    Attributes
    protected
    Definition Classes
    Single
    Annotations
    @throws( classOf[ IOException ] )
  4. abstract def isConnected: Boolean

    Permalink
    Definition Classes
    Channel
  5. abstract def transport: Transport

    Permalink

    Queries the transport protocol used by this communicator.

    Queries the transport protocol used by this communicator.

    returns

    the transport, such as UDP or TCP

    Definition Classes
    ConfigLike
    See also

    #TCP

    #UDP

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final val buf: ByteBuffer

    Permalink
    Attributes
    protected
    Definition Classes
    Single
  6. val bufSync: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    Single
  7. final def bufferSize: Int

    Permalink

    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
    ChannelConfigLike
    See also

    #setBufferSize( int )

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def close(): Unit

    Permalink
    Definition Classes
    Transmitter → Channel → Closeable → AutoCloseable
    Annotations
    @throws( classOf[ IOException ] )
  10. final def codec: PacketCodec

    Permalink
    Definition Classes
    ChannelConfigLike
  11. final def connect(): Unit

    Permalink

    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 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.

    Definition Classes
    TransmitterChannel
    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 an Receiver sharing the same socket was stopped before (unable to revive).

    See also

    #isConnected()

  12. final def dump(mode: Dump = Dump.Text, stream: PrintStream = Console.err, filter: Filter = Dump.AllPackets): Unit

    Permalink

    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), or Dump.Both (both text and hex)

    stream

    the stream to print on

    Definition Classes
    Single → Channel
  13. var dumpFilter: Filter

    Permalink
    Attributes
    protected
    Definition Classes
    Single
  14. var dumpMode: Dump

    Permalink
    Attributes
    protected
    Definition Classes
    Single
  15. def dumpPacket(p: Packet): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Output
  16. final def dumpPacket(p: Packet, prefix: String): Unit

    Permalink

    Callers should have a lock on the buffer!

    Callers should have a lock on the buffer!

    Attributes
    protected
    Definition Classes
    Single
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def isOpen(): Boolean

    Permalink

    Queries whether the channel is still open.

    Queries whether the channel is still open.

    Definition Classes
    Channel → Channel
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. var printStream: PrintStream

    Permalink
    Attributes
    protected
    Definition Classes
    Single
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Output

Inherited from Single

Inherited from Channel

Inherited from java.nio.channels.Channel

Inherited from Closeable

Inherited from AutoCloseable

Inherited from ConfigLike

Inherited from AnyRef

Inherited from Any

Ungrouped