cad.simcad.objectserver.spec.cac.client
Interface CAUserInterface


public interface CAUserInterface

This is the interface that a CAC graphical user interface has to match

Author:
Charles-Philip

Method Summary
 void sendData()
          Send data over the network to the server
 void sendData(FieldSet fs)
          Send data over the network to the server
 

Method Detail

sendData

public void sendData()
              throws CAClientException
Send data over the network to the server

Pre:
The interface fields are filled. There is an open connection between the client and the server. This method will try to build a FieldSet object itself.
Throws:
CAClientException - if there is no open connection
Post:
The contents of the fields are used to create a FieldSet object. This object is sendt to the NetworkConnector module

sendData

public void sendData(FieldSet fs)
              throws CAClientException
Send data over the network to the server

Parameters:
fs - A FieldSet object containing necessary data
Pre:
Open connection
Throws:
CAClientException - if there is no open connection
Post:
The FieldSet object is sent to the destination. This object is sendt to the NetworkConnector module

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be