org.gscg.common.gui
Interface ClientInterface

All Superinterfaces:
nl.tudelft.simulation.event.EventProducerInterface

public interface ClientInterface
extends nl.tudelft.simulation.event.EventProducerInterface

The client interface serves as a placeholder for several methods each client graphical user interface should embody.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:34:10 $
Author:
Stijn-Pieter van Houten

Field Summary
static nl.tudelft.simulation.event.EventType INITIALIZATION_COMPLETED_EVENT
          the INITIALIZATION_COMPLETED_EVENT is fired when the client is initialized completely
static nl.tudelft.simulation.event.EventType UNSUBSCRIBE_FROM_SERVER_EVENT
          indicates all the objects which are listening to server side events to unsubscribe
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Method Summary
 void addEventSentByClient(nl.tudelft.simulation.event.EventType eventType)
          adds events to a list, these events are send by the client to the server
 void dispose()
          The dispose method is called when the frame which is started by client is closed.
 
Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, getEventTypes, removeListener
 

Field Detail

UNSUBSCRIBE_FROM_SERVER_EVENT

public static final nl.tudelft.simulation.event.EventType UNSUBSCRIBE_FROM_SERVER_EVENT
indicates all the objects which are listening to server side events to unsubscribe


INITIALIZATION_COMPLETED_EVENT

public static final nl.tudelft.simulation.event.EventType INITIALIZATION_COMPLETED_EVENT
the INITIALIZATION_COMPLETED_EVENT is fired when the client is initialized completely

Method Detail

addEventSentByClient

public void addEventSentByClient(nl.tudelft.simulation.event.EventType eventType)
adds events to a list, these events are send by the client to the server

Parameters:
eventType - the event to add

dispose

public void dispose()
The dispose method is called when the frame which is started by client is closed. The method is used to unsubscribe the client server-side



Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.