SMom.ObjectOriented
Class CDynamicSkeleton

java.lang.Object
  |
  +--SMom.ObjectOriented.CDynamicSkeleton
All Implemented Interfaces:
IReceiver, ISender

public class CDynamicSkeleton
extends java.lang.Object
implements IReceiver, ISender

Skeleton di base con chiamate dinamiche funzionante per una qualsiasi classe Servant.

Creare una istanza della classe e associarvi il Servant attribuendo eventualmente un ObjectID idoneo per l'applicazione. Associare la classe ad un Dispatcher in modo che riceva le richieste da parte dello Stub corrispondente.

Version:
0.1 - Settembre 2004
Author:
Giorgio Bernardi.
E-Mail: Giorgio.Bernardi@studio.unibo.it

Constructor Summary
CDynamicSkeleton()
          Costruttore di default.
 
Method Summary
 java.lang.String getObjectID()
          Id dell'oggetto.
 java.lang.Object getServant()
          Oggetto Servant che esegue le operazioni
 java.lang.String getSkeletonID()
          Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
 void msgArrived(CEnvelope Env)
          Gestisce il messaggio in arrivo rimbalzando la richiesta alla classe Servant
 void setServant(java.lang.Object Value)
          Oggetto Servant che esegue le operazioni
 void setSkeletonID(java.lang.String Value)
          Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDynamicSkeleton

public CDynamicSkeleton()
Costruttore di default. Setta l'ObjectID con un valore univoco.

Method Detail

getSkeletonID

public java.lang.String getSkeletonID()
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto


setSkeletonID

public void setSkeletonID(java.lang.String Value)
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto


getServant

public java.lang.Object getServant()
Oggetto Servant che esegue le operazioni


setServant

public void setServant(java.lang.Object Value)
Oggetto Servant che esegue le operazioni


getObjectID

public java.lang.String getObjectID()
Id dell'oggetto. Funzione ereditata da ISender e IReceiver

Specified by:
getObjectID in interface IReceiver

msgArrived

public void msgArrived(CEnvelope Env)
Gestisce il messaggio in arrivo rimbalzando la richiesta alla classe Servant

Specified by:
msgArrived in interface IReceiver


Copyright © 2004 Giorgio Bernardi. All Rights Reserved.