org.red5.server.messaging
Class PipeUtils
java.lang.Object
org.red5.server.messaging.PipeUtils
public class PipeUtils
- extends Object
Helper class for pipe structure.
- Author:
- The Red5 Project ([email protected]), Steven Gong ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipeUtils
public PipeUtils()
connect
public static void connect(IProvider provider,
IPipe pipe,
IConsumer consumer)
- Connect a provider/consumer with a pipe.
- Parameters:
provider
- Providerpipe
- Pipe that used to estabilish connectionconsumer
- Consumer
disconnect
public static void disconnect(IProvider provider,
IPipe pipe,
IConsumer consumer)
- Disconnect a provider/consumer from a pipe.
- Parameters:
provider
- Providerpipe
- Pipe to disconnect fromconsumer
- Consumer
Copyright © 2006-2012 The Red5 Project