57 |
* configury string that looks like "name=dt_socket, |
* configury string that looks like "name=dt_socket, |
58 |
* address=localhost:1234,server=y". |
* address=localhost:1234,server=y". |
59 |
* |
* |
60 |
* @author Keith Seitz <keiths@redhat.com> |
* @author Keith Seitz (keiths@redhat.com) |
61 |
*/ |
*/ |
62 |
class SocketTransport |
class SocketTransport |
63 |
implements ITransport |
implements ITransport |
145 |
} |
} |
146 |
} |
} |
147 |
|
|
148 |
|
/** |
149 |
|
* Shutdown the socket. This could cause SocketExceptions |
150 |
|
* for anyone blocked on socket i/o |
151 |
|
*/ |
152 |
|
public void shutdown () |
153 |
|
{ |
154 |
|
try |
155 |
|
{ |
156 |
|
_socket.close (); |
157 |
|
} |
158 |
|
catch (Throwable t) |
159 |
|
{ |
160 |
|
// We don't really care about errors at this point |
161 |
|
} |
162 |
|
} |
163 |
|
|
164 |
/** |
/** |
165 |
* Returns an <code>InputStream</code> for the transport |
* Returns an <code>InputStream</code> for the transport |
166 |
* |
* |