org.PingOO.DLAI.slave.MailSM
Class Request

java.lang.Object
  |
  +--org.PingOO.DLAI.slave.MailSM.Request

final class Request
extends java.lang.Object

Asks question to the server by using the upper protocol.
This provide examples for a simple request object.
It is up to the programmer to retreive the correct data types (and datas) for the upper slave application.

Since:
PingOO 2.0
Version:
2.0
Author:
Fabrice Bouyé (bouye@cur-archamps.fr)

Field Summary
private  javax.swing.JInternalFrame parentFrame
          The parent frame.
private  UpperProtocol protocol
          The object used to send to and receive messages from the server.
 
Constructor Summary
Request(UpperProtocol protocol, javax.swing.JInternalFrame parentFrame)
          Creates a new request object.
 
Method Summary
 void sync()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

protocol

private UpperProtocol protocol
The object used to send to and receive messages from the server.

parentFrame

private javax.swing.JInternalFrame parentFrame
The parent frame.
Used for blocking window display ONLY.
Constructor Detail

Request

public Request(UpperProtocol protocol,
               javax.swing.JInternalFrame parentFrame)
Creates a new request object.
Parameters:
protocol - The protocol to which send the requests.
parentFrame - This is just need for blocking windows.
Method Detail

sync

public void sync()