Home | History | Annotate | Download | only in impl

Lines Matching refs:socket

36 import java.net.Socket;
49 * network Socket in order to receive and transmit data.
61 private Socket socket = null;
80 final Socket socket,
83 return new SocketInputBuffer(socket, buffersize, params);
87 final Socket socket,
90 return new SocketOutputBuffer(socket, buffersize, params);
94 final Socket socket,
96 if (socket == null) {
97 throw new IllegalArgumentException("Socket may not be null");
102 this.socket = socket;
107 createSessionInputBuffer(socket, buffersize, params),
108 createSessionOutputBuffer(socket, buffersize, params),
118 protected Socket getSocket() {
119 return this.socket;
123 if (this.socket != null) {
124 return this.socket.getLocalAddress();
131 if (this.socket != null) {
132 return this.socket.getLocalPort();
139 if (this.socket != null) {
140 return this.socket.getInetAddress();
147 if (this.socket != null) {
148 return this.socket.getPort();
156 if (this.socket != null) {
158 this.socket.setSoTimeout(timeout);
161 // other legitimate cases for a socket exception to be thrown when setting
162 // SO_TIMEOUT besides the socket being already closed
168 if (this.socket != null) {
170 return this.socket.getSoTimeout();
181 Socket tmpsocket = this.socket;
195 this.socket.shutdownOutput();
199 this.socket.shutdownInput();
205 this.socket.close();