public class SocketContext extends SimpleContext
Constructor and Description |
---|
SocketContext(SocketAtom atom) |
Modifier and Type | Method and Description |
---|---|
void |
closeConn() |
String |
getCurrentLine() |
OutputStream |
getOutputStream() |
BufferedReader |
getReader() |
String |
readLine() |
void |
write(String str) |
void |
writeLine(String str) |
clear, clone, get, getInnerMap, has, keys, remove, 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)
public void closeConn()
Copyright © 2020. All rights reserved.