public class SocketContext extends SimpleContext
| 构造器和说明 |
|---|
SocketContext(SocketAtom atom) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCurrentLine() |
OutputStream |
getOutputStream() |
BufferedReader |
getReader() |
String |
readLine() |
void |
write(String str) |
void |
writeLine(String str) |
clear, clone, get, getInnerMap, has, keys, set, size, toStringpublic SocketContext(SocketAtom atom)
public BufferedReader getReader()
public String readLine() throws IOException
IOExceptionpublic String getCurrentLine()
public OutputStream getOutputStream()
public void write(String str)
public void writeLine(String str)
Copyright © 2017. All rights reserved.