T - public class PeerChannel<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PeerChannel.NamedPipe |
| Constructor and Description |
|---|
PeerChannel(String user,
T input,
File namedPipesRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputStream |
getEventsOs() |
T |
getRequest() |
OutputStream |
getStderrOs() |
OutputStream |
getStdoutOs() |
String |
getUser() |
boolean |
log(ANSICode color,
String message) |
boolean |
ping() |
static boolean |
println(OutputStream os,
String message) |
boolean |
sendEvent(Event event,
Object value) |
public PeerChannel(String user, T input, File namedPipesRoot) throws OrphanChannelException, IOException
OrphanChannelExceptionIOExceptionpublic static boolean println(OutputStream os, String message)
public String getUser()
public OutputStream getEventsOs()
public OutputStream getStdoutOs()
public OutputStream getStderrOs()
public boolean ping()
public T getRequest()
public void close()
throws IOException
IOExceptionCopyright © 2010–2016. All rights reserved.