public class StreamManagerClient extends Object implements StreamManager
Constructor and Description |
---|
StreamManagerClient(String serverLocator) |
StreamManagerClient(String serverLocator,
int minBufSize,
int maxBufSize) |
Modifier and Type | Method and Description |
---|---|
String |
addStream(StreamSource src) |
StreamingServer |
getServer() |
StreamSource |
getStream(String uri) |
boolean |
hasStream(String uri) |
static void |
main(String[] args) |
void |
removeStream(String uri) |
void |
setMaxBufferSize(int maxBufSize) |
void |
setMinBufferSize(int minBufSize) |
void |
start() |
void |
stop() |
public StreamManagerClient(String serverLocator) throws Exception
Exception
public void start() throws Exception
start
in interface StreamManager
Exception
public void stop()
stop
in interface StreamManager
public String addStream(StreamSource src) throws IOException
addStream
in interface StreamManager
IOException
public StreamSource getStream(String uri) throws IOException
getStream
in interface StreamManager
IOException
public boolean hasStream(String uri)
hasStream
in interface StreamManager
public void removeStream(String uri)
removeStream
in interface StreamManager
public void setMaxBufferSize(int maxBufSize)
public void setMinBufferSize(int minBufSize)
public StreamingServer getServer()
public static void main(String[] args)
Copyright © 2011 Nuxeo SA. All Rights Reserved.