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 PipeService
protected void publishEvent(String pipeName, byte[] data, int retries) throws IOException
IOException
public WorkerHandle createWorker(String pipeName, Worker worker) throws WorkerAlreadyCreated
createWorker
in interface PipeService
WorkerAlreadyCreated
public void processNextEvent(Worker worker, String pipeName) throws IOException
IOException
protected void performClose(String pipeName)
public void pipes()
public void list(String pipeName)
public void startTestWorker(String pipeName) throws WorkerAlreadyCreated
WorkerAlreadyCreated
public void closeTestWorker()
public void testPublish(String pipeName, String data) throws IOException
IOException
public void drop(String pipeName) throws IOException
IOException
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.