org.mobicents.media.server.resource
Class Pipe

java.lang.Object
  extended by org.mobicents.media.server.resource.Pipe

public class Pipe
extends java.lang.Object

Pipe is part of a channel and joins individual components.

Author:
kulikov

Constructor Summary
protected Pipe(Channel channel)
          Coinstructs new pipe.
 
Method Summary
 void close()
          Closes this pipe if it was open and do nothing if pipe was not open.
 void open(java.lang.String inletName, java.lang.String outletName)
          Joins source with sink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pipe

protected Pipe(Channel channel)
Coinstructs new pipe.

Parameters:
channel - the owner of this pipe;
Method Detail

open

public void open(java.lang.String inletName,
                 java.lang.String outletName)
          throws UnknownComponentException
Joins source with sink

Parameters:
inletName - the name of source component.
outletName - the name of sink component.
Throws:
UnknownComponentException - if inletName or outletName is unknown

close

public void close()
Closes this pipe if it was open and do nothing if pipe was not open.



Copyright © 2009. All Rights Reserved.