|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.resource.ChannelFactory
public class ChannelFactory
Factory class for creating channels.
| Constructor Summary | |
|---|---|
ChannelFactory()
|
|
| Method Summary | |
|---|---|
java.util.List |
getComponents()
Gets the list of components which will be placed into the new channel. |
org.mobicents.media.server.spi.MediaType |
getMediaType()
Gets the media type of the channel generated by this factory. |
java.util.List |
getPipes()
Gets the existing list of pipes. |
Channel |
newInstance(org.mobicents.media.server.spi.Endpoint endpoint,
org.mobicents.media.server.spi.MediaType media)
Returns new channel. |
void |
setComponents(java.util.List components)
Sets the list of components which will be placed into the new channel. |
void |
setMediaType(org.mobicents.media.server.spi.MediaType mediaType)
Assigns media type which will be used by this factory for generation channels |
void |
setPipes(java.util.List<PipeFactory> pipes)
Modify pipe list. |
void |
start()
Starts this factory. |
void |
stop()
Stop this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelFactory()
| Method Detail |
|---|
public Channel newInstance(org.mobicents.media.server.spi.Endpoint endpoint,
org.mobicents.media.server.spi.MediaType media)
throws org.mobicents.media.server.spi.ResourceUnavailableException
UnknownComponentException
org.mobicents.media.server.spi.ResourceUnavailableExceptionpublic void setPipes(java.util.List<PipeFactory> pipes)
pipes - the list of pipes beans defining media flow pathpublic java.util.List getPipes()
public java.util.List getComponents()
public void setComponents(java.util.List components)
public org.mobicents.media.server.spi.MediaType getMediaType()
public void setMediaType(org.mobicents.media.server.spi.MediaType mediaType)
mediaType - media type identifier.
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||