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.
66 private Socket socket = null;
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params);
99 final Socket socket,
101 if (socket == null) {
102 throw new IllegalArgumentException("Socket may not be null");
107 this.socket = socket;
112 createSessionInputBuffer(socket, buffersize, params),
113 createSessionOutputBuffer(socket, buffersize, params),
123 protected Socket getSocket() {
124 return this.socket;
128 if (this.socket != null) {
129 return this.socket.getLocalAddress();
136 if (this.socket != null) {
137 return this.socket.getLocalPort();
144 if (this.socket != null) {
145 return this.socket.getInetAddress();
152 if (this.socket != null) {
153 return this.socket.getPort();
161 if (this.socket != null) {
163 this.socket.setSoTimeout(timeout);
166 // other legitimate cases for a socket exception to be thrown when setting
167 // SO_TIMEOUT besides the socket being already closed
173 if (this.socket != null) {
175 return this.socket.getSoTimeout();
186 Socket tmpsocket = this.socket;
200 this.socket.shutdownOutput();
204 this.socket.shutdownInput();
210 this.socket.close();