org.apache.bsf.debug.clientImpl
Class ClientConnection

java.lang.Object
  extended byorg.apache.bsf.debug.util.SocketConnection
      extended byorg.apache.bsf.debug.clientImpl.ClientConnection
All Implemented Interfaces:
java.lang.Runnable

public class ClientConnection
extends SocketConnection
implements java.lang.Runnable


Field Summary
 
Fields inherited from class org.apache.bsf.debug.util.SocketConnection
fDataInputStream, fDataOutputStream, fInputStream, fOutputStream, fStubs
 
Constructor Summary
ClientConnection(java.lang.String host, int port)
           
 
Method Summary
 void breakConnection()
           
protected  void dispatchInvocation(ResultCell rcell)
           
 DebugManagerStub getDebugManager()
           
 void run()
           
protected  void wireExceptionNotify(java.lang.Exception ex)
          A Wire-related exception occurred.
 
Methods inherited from class org.apache.bsf.debug.util.SocketConnection
exportSkeleton, getSkeleton, getStub, listen, prepareOutgoingInvoke, searchCell, stopListening, swizzle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientConnection

public ClientConnection(java.lang.String host,
                        int port)
                 throws java.io.IOException
Method Detail

getDebugManager

public DebugManagerStub getDebugManager()

run

public void run()
Specified by:
run in interface java.lang.Runnable

dispatchInvocation

protected void dispatchInvocation(ResultCell rcell)
                           throws java.lang.Exception
Specified by:
dispatchInvocation in class SocketConnection
Throws:
java.lang.Exception

breakConnection

public void breakConnection()

wireExceptionNotify

protected void wireExceptionNotify(java.lang.Exception ex)
Description copied from class: SocketConnection
A Wire-related exception occurred. We will consider that we have lost the connection. All stubs will be revoked... allowing higher-level listener to pick up that some remote objects have been revoked through the StubListener mechanism. Log at lower priority than a standard exception, since this is the client quit mechanism too.

Overrides:
wireExceptionNotify in class SocketConnection