org.mobicents.media
Interface Component

All Superinterfaces:
Serializable
All Known Subinterfaces:
DtmfDetector, DtmfDetector, DtmfGenerator, MediaSink, MediaSource, MultimediaResourceGroup, Player, Player, Recorder, ResourceGroup, ToneDetector, TTSEngine

public interface Component
extends Serializable

Component is an Object that is responsible for any media data processing. Examples of components are the audio player, recoder, DTMF detector, etc. The Component is a supper class for all media processing components.

Author:
yulian oifa

Method Summary
 void activate()
          Activates component
 void clearEndpoint()
           
 void deactivate()
          Deactivates component
 Endpoint getEndpoint()
           
 String getId()
          Gets the unique identifier of this component.
 String getName()
          Gets the name of the component.
 void reset()
          Resets component to its original state.
 void setEndpoint(Endpoint endpoint)
           
 

Method Detail

getId

String getId()
Gets the unique identifier of this component.

Returns:

getName

String getName()
Gets the name of the component. The component of same type can share same name.

Returns:
name of this component;

reset

void reset()
Resets component to its original state. This methods cleans transmission statistics and any assigned formats


activate

void activate()
Activates component


deactivate

void deactivate()
Deactivates component


setEndpoint

void setEndpoint(Endpoint endpoint)

clearEndpoint

void clearEndpoint()

getEndpoint

Endpoint getEndpoint()


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