public class IpcHandle extends AbstractHandle
| Constructor and Description |
|---|
IpcHandle(GenericNodeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(IpcHandle partner) |
TriCallback<Integer,ByteBuffer,Object> |
getIpcCallback() |
int |
getWritesOutstanding() |
void |
setIpcCallback(TriCallback<Integer,ByteBuffer,Object> cb) |
void |
startReading(IOCompletionHandler<ByteBuffer> handler) |
void |
stopReading() |
int |
write(ByteBuffer buf,
IOCompletionHandler<Integer> handler) |
int |
write(String s,
Charset cs,
IOCompletionHandler<Integer> handler) |
int |
writeHandle(ByteBuffer buf,
Object handleArg,
IOCompletionHandler<Integer> handler) |
int |
writeHandle(String s,
Charset cs,
Object handleArg,
IOCompletionHandler<Integer> handler) |
getReadHandler, setReadHandlerpublic IpcHandle(GenericNodeRuntime runtime)
public TriCallback<Integer,ByteBuffer,Object> getIpcCallback()
public void setIpcCallback(TriCallback<Integer,ByteBuffer,Object> cb)
public int write(ByteBuffer buf, IOCompletionHandler<Integer> handler)
write in interface Handlewrite in class AbstractHandlepublic int write(String s, Charset cs, IOCompletionHandler<Integer> handler)
write in interface Handlewrite in class AbstractHandlepublic int writeHandle(String s, Charset cs, Object handleArg, IOCompletionHandler<Integer> handler)
writeHandle in interface HandlewriteHandle in class AbstractHandlepublic int writeHandle(ByteBuffer buf, Object handleArg, IOCompletionHandler<Integer> handler)
writeHandle in interface HandlewriteHandle in class AbstractHandlepublic int getWritesOutstanding()
getWritesOutstanding in interface HandlegetWritesOutstanding in class AbstractHandlepublic void startReading(IOCompletionHandler<ByteBuffer> handler)
startReading in interface HandlestartReading in class AbstractHandlepublic void stopReading()
stopReading in interface HandlestopReading in class AbstractHandlepublic void connect(IpcHandle partner)
public void close()
close in interface Handleclose in class AbstractHandleCopyright © 2016 Apigee Corporation. All Rights Reserved.