org.mobicents.media.server.connection
Class Connections.Channel

java.lang.Object
  extended by org.mobicents.media.server.connection.Connections.Channel
Enclosing class:
Connections

protected class Connections.Channel
extends Object

Transmission channel between connections and endpoint


Field Summary
protected  Mixer mixer
           
protected  Splitter splitter
           
 
Constructor Summary
protected Connections.Channel(Mixer mixer, Splitter splitter, MediaType mediaType)
          Creates new channel.
 
Method Summary
protected  MediaType getMediaType()
          Gets the media type of this channel
protected  void setMode(ConnectionMode mode)
          Enables transmission in specified mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mixer

protected Mixer mixer

splitter

protected Splitter splitter
Constructor Detail

Connections.Channel

protected Connections.Channel(Mixer mixer,
                              Splitter splitter,
                              MediaType mediaType)
Creates new channel.

Parameters:
mixer - the mixer used for mixing signals from connections
splitter - the splitter for splitting signals between connections
mediaType - the media type of the stream
Method Detail

getMediaType

protected MediaType getMediaType()
Gets the media type of this channel

Returns:
the media type identifier

setMode

protected void setMode(ConnectionMode mode)
                throws ModeNotSupportedException
Enables transmission in specified mode.

Parameters:
mode - the mode of transmission
Throws:
ModeNotSupportedException


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.