public class SocketContext extends SimpleContext
Constructor and Description |
---|
SocketContext(SocketAtom atom) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentLine() |
OutputStream |
getOutputStream() |
BufferedReader |
getReader() |
String |
readLine() |
void |
write(String str) |
void |
writeLine(String str) |
clear, clone, get, getInnerMap, has, keys, set, size, toString
public SocketContext(SocketAtom atom)
public BufferedReader getReader()
public String readLine() throws IOException
IOException
public String getCurrentLine()
public OutputStream getOutputStream()
public void write(String str)
public void writeLine(String str)
Copyright © 2017. All rights reserved.