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

java.lang.Object
  extended by org.mobicents.media.server.connection.Channel.Mode
Direct Known Subclasses:
Channel.CnfMode, Channel.NetworkLoopMode, Channel.SendOnlyMode, Channel.SendRecvMode
Enclosing class:
Channel

protected abstract class Channel.Mode
extends Object

Transmission mode


Constructor Summary
protected Channel.Mode()
           
 
Method Summary
abstract  void activate()
          Establishes transmission path according to this mode.
abstract  void deactivate()
          Clears media path.
abstract  ConnectionMode getID()
          Gets the unique identifier of the mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Channel.Mode

protected Channel.Mode()
Method Detail

getID

public abstract ConnectionMode getID()
Gets the unique identifier of the mode.

Returns:
mode identifier.

activate

public abstract void activate()
                       throws FormatNotSupportedException
Establishes transmission path according to this mode.

Throws:
FormatNotSupportedException

deactivate

public abstract void deactivate()
Clears media path.



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