com.iisc.jwc.jsheet
Interface SessionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
JSCallbacks, JSClientSession, SessionAdapter

public interface SessionListener
extends java.util.EventListener

The SessionListener handles events that occur in this session.


Method Summary
 void bookClosed(SessionEvent e)
          Invoked when a book is closed by this client.
 void bookOpened(SessionEvent e)
          Invoked when a book is opened by this client.
 void killClient(SessionEvent e)
          Invoked when a terminate message is sent from the server.
 void messageReceived(SessionEvent e)
          Invoked when a message is sent from the server to this client.
 

Method Detail

bookClosed

public void bookClosed(SessionEvent e)
Invoked when a book is closed by this client.

Parameters:
e - getName() returns the name of the book that was closed.

bookOpened

public void bookOpened(SessionEvent e)
Invoked when a book is opened by this client.

Parameters:
e - getName() returns the name of the book that was opened.

killClient

public void killClient(SessionEvent e)
Invoked when a terminate message is sent from the server.

Parameters:
e - getFlag() returns true if the server has already cleaned up, and false if the client should clean up as quickly as possible.

messageReceived

public void messageReceived(SessionEvent e)
Invoked when a message is sent from the server to this client.

Parameters:
e - getSender() returns the name of the sender and getMsg() returns the message sent.

Email JSheet Support

www.jsheet.com
Copyright 1995 - 2003 Investment Intelligence Systems Limited.