org.gscg.singleuser.interactionlayer
Interface RemoteInteractionLayerInterface

All Superinterfaces:
java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, nl.tudelft.simulation.event.EventProducerInterface, GlobalInteractionLayerInterface, java.rmi.Remote, nl.tudelft.simulation.event.remote.RemoteEventProducerInterface
All Known Implementing Classes:
DistributorSingleUserInteractionLayer, ManufacturerSingleUserInteractionLayer

public interface RemoteInteractionLayerInterface
extends GlobalInteractionLayerInterface

THe RemoteInteraction interface defines the methods for the client-side application.
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:08 $
Author:
Stijn-Pieter van Houten

Field Summary
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Method Summary
 void getContentList(java.lang.Class contentClass, boolean sent, java.lang.String productName)
          Method getContentList.
 RFQDataSuppliers getSuppliers(java.lang.String productName)
          Method getSuppliers returns the suppliers for the specified product name.
 
Methods inherited from interface org.gscg.common.interactionlayer.GlobalInteractionLayerInterface
addEventTypeSentByClient, addEventTypeToAnnounceList, getCache, getStatisticEventTypes, getTotalNumberOfDays, login
 
Methods inherited from interface nl.tudelft.simulation.event.EventListenerInterface
notify
 
Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, getEventTypes, removeListener
 

Method Detail

getContentList

public void getContentList(java.lang.Class contentClass,
                           boolean sent,
                           java.lang.String productName)
                    throws java.rmi.RemoteException
Method getContentList. TODO provide java doc examples of the implementation of a call

Parameters:
contentClass - the class reflecting the content
sent - indicates whether the sent or received messages should be returned as an asynchronous event
productName - the name of the product for which to get the list
Throws:
java.rmi.RemoteException - thrown in case of a network error

getSuppliers

public RFQDataSuppliers getSuppliers(java.lang.String productName)
                              throws java.rmi.RemoteException
Method getSuppliers returns the suppliers for the specified product name. If the product name does not exist, an empty array is returned.

Parameters:
productName - the product to get the 'empty' RFQ data for
Returns:
an initialized RFQData object with potential suppliers
Throws:
java.rmi.RemoteException - thrown in case of a network error


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