t3.remotehrd.server
Class InputSource

java.lang.Object
  extended by t3.remotehrd.server.InputSource

public class InputSource
extends java.lang.Object

Represents, at the server end, an InputSource connected to the server.

Author:
pjt40

Method Summary
 void close()
          Ensures that no more messages are sent to this client and closes the client's socket.
 void errorWithThisInputSource(java.lang.Throwable e)
          Reports a specified exception to do with this client, and closes the client without stopping the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

errorWithThisInputSource

public void errorWithThisInputSource(java.lang.Throwable e)
Reports a specified exception to do with this client, and closes the client without stopping the server. This method is thread-safe; it can be called from any thread.

Parameters:
e -

close

public void close()
Ensures that no more messages are sent to this client and closes the client's socket. This method can be called more than once with no ill effects. This method is thread-safe; it can be called from any thread.