edu.wisc.trace.urcsdk.target
Interface ISocketListener

All Known Implementing Classes:
TargetFacadeForJni

public interface ISocketListener

ISocketListener is used to detect when a Urc requests a new session on the particular socket.

Version:
$Revision: 1.21 $
Author:
Andrew Martin

Method Summary
 void sessionOpened(TargetSession session)
          sessionOpened will be invoked when a session is successfully opened by the Client.
 boolean sessionOpenRequest(UISocket uiSocket)
          sessionOpenRequest is called initially to see if the Target will accept a new session.
 

Method Detail

sessionOpenRequest

boolean sessionOpenRequest(UISocket uiSocket)
sessionOpenRequest is called initially to see if the Target will accept a new session. It could return false for example, if the target only wanted to support a limited number of sessions, etc...

Parameters:
uiSocket - a UISocket value
Returns:
a boolean value if the new session is allowed.

sessionOpened

void sessionOpened(TargetSession session)
sessionOpened will be invoked when a session is successfully opened by the Client.

Parameters:
session - TargetSession the newly created Session.


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.