de.sciss.osc

Receiver

trait Receiver extends Input

Self Type
Receiver
Linear Supertypes
Input, Single, Channel, java.nio.channels.Channel, Closeable, ConfigLike, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Receiver
  2. Input
  3. Single
  4. Channel
  5. Channel
  6. Closeable
  7. ConfigLike
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def channel: InterruptibleChannel

    Definition Classes
    Channel
  2. abstract def config: Config

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

    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

    Definition Classes
    Channel
  5. abstract def receive(): Unit

    Attributes
    protected
    Annotations
    @throws( classOf[ IOException ] )
  6. 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 or TCP

    Definition Classes
    ConfigLike
    See also

    #TCP

    #UDP

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final val buf: ByteBuffer

    Attributes
    protected
    Definition Classes
    Single
  8. val bufSync: AnyRef

    Attributes
    protected
    Definition Classes
    Single
  9. final 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
    ChannelConfigLike
    See also

    #setBufferSize( int )

  10. def clone(): AnyRef

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

    Definition Classes
    Receiver → Channel → Closeable
    Annotations
    @throws( classOf[ IOException ] )
  12. final def codec: PacketCodec

    Definition Classes
    ChannelConfigLike
  13. final def connect(): Unit

    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.

    Definition Classes
    ReceiverChannel
    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()

  14. final def dump(mode: Dump = Dump.Text, stream: PrintStream = Console.err, filter: (Packet) ⇒ Boolean = 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), or Dump.Both (both text and hex)

    stream

    the stream to print on

    Definition Classes
    Single → Channel
  15. var dumpFilter: (Packet) ⇒ Boolean

    Attributes
    protected
    Definition Classes
    Single
  16. var dumpMode: Dump

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

    Attributes
    protected
    Definition Classes
    Input
  18. final def dumpPacket(p: Packet, prefix: String): Unit

    Callers should have a lock on the buffer!

    Callers should have a lock on the buffer!

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

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

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

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

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

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

    Definition Classes
    Any
  25. final def isOpen(): Boolean

    Queries whether the channel is still open.

    Queries whether the channel is still open.

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

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. var printStream: PrintStream

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Input

Inherited from Single

Inherited from Channel

Inherited from java.nio.channels.Channel

Inherited from Closeable

Inherited from ConfigLike

Inherited from AnyRef

Inherited from Any

Ungrouped