public class PipeServiceImpl extends Object implements PipeService
| Constructor and Description |
|---|
PipeServiceImpl() |
PipeServiceImpl(File storage) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeTestWorker() |
Producer |
createProducer(String pipeName) |
WorkerHandle |
createWorker(String pipeName,
Worker worker) |
void |
drop(String pipeName) |
Long |
fetchNextEvents(String pipeName,
int max,
List<File> result) |
static File |
getDefaultDirectory() |
void |
list(String pipeName) |
protected void |
performClose(String pipeName) |
void |
pipes() |
void |
processNextEvent(Worker worker,
String pipeName) |
protected void |
publishEvent(String pipeName,
byte[] data,
int retries) |
void |
start() |
void |
startTestWorker(String pipeName) |
void |
stop() |
void |
testPublish(String pipeName,
String data) |
public PipeServiceImpl()
public PipeServiceImpl(File storage)
public void start()
public void stop()
public static File getDefaultDirectory()
public Producer createProducer(String pipeName)
createProducer in interface PipeServiceprotected void publishEvent(String pipeName, byte[] data, int retries) throws IOException
IOExceptionpublic WorkerHandle createWorker(String pipeName, Worker worker) throws WorkerAlreadyCreated
createWorker in interface PipeServiceWorkerAlreadyCreatedpublic void processNextEvent(Worker worker, String pipeName) throws IOException
IOExceptionprotected void performClose(String pipeName)
public void pipes()
public void list(String pipeName)
public void startTestWorker(String pipeName) throws WorkerAlreadyCreated
WorkerAlreadyCreatedpublic void closeTestWorker()
public void testPublish(String pipeName, String data) throws IOException
IOExceptionpublic void drop(String pipeName) throws IOException
IOExceptionCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.