A B C D E F G H I L M N P R S T U V W

A

actionPerformed(ActionEvent) - Method in class NavalBattle.BattagliaNavale
Questo elemento riceve gli input del Mouse sui bottoni.
actionPerformed(ActionEvent) - Method in class TestSMom.CTestOOSMom
Esecuzione della procedura di test
AddParam(CValue) - Method in class SMom.ObjectOriented.CProcedure
Permette di aggiungere un parametro alla procedura
Affondata - Static variable in class NavalBattle.casella
Il colore della barca Affondata.

B

Barca - Static variable in class NavalBattle.casella
Il colore della barca.
BattagliaNavale - class NavalBattle.BattagliaNavale.
Battaglia Navale 1.1 Questo Programma è stato creato con il Java Developement Kit 1.2.2.
BattagliaNavale() - Constructor for class NavalBattle.BattagliaNavale
 
BattagliaNavaleFromVb - package BattagliaNavaleFromVb
Applicazione Wrapper fra il progetto NavalBattle e il client Visual Basic.
BigConcatena(String, String, String, String, String, String, String, String, String, String, String, String) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione con troppi argomenti per essere chiamata con lo skeleton dinamico in Visual Basic.
BigConcatena(String, String, String, String, String, String, String, String, String, String, String, String) - Method in class TestSMom.ClsTestProcedures
Funzione con troppi argomenti per essere chiamata con lo skeleton dinamico in Visual Basic.

C

CallRemoteFunction(String, boolean, Enumeration) - Method in class SMom.ObjectOriented.CDynamicStub
Funzione da chiamare per contattare lo Skeleton remoto.
CannotConvertStringToEnvelope - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
casella - class NavalBattle.casella.
Battaglia Navale 1.0
casella(int, int, boolean) - Constructor for class NavalBattle.casella
Costruttore della casella.
CCannotConvertEnvelopeToCFunctionResultException - exception SMom.Exceptions.CCannotConvertEnvelopeToCFunctionResultException.
Eccezione generata da un oggetto CFunctionResult se non riesce a interpretare una Envelope.
CCannotConvertEnvelopeToCFunctionResultException() - Constructor for class SMom.Exceptions.CCannotConvertEnvelopeToCFunctionResultException
Costruttore con messaggio di errore standard
CCannotConvertEnvelopeToCFunctionResultException(String, String) - Constructor for class SMom.Exceptions.CCannotConvertEnvelopeToCFunctionResultException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CCannotConvertEnvelopeToCProcedureException - exception SMom.Exceptions.CCannotConvertEnvelopeToCProcedureException.
Eccezione generata da un oggetto CProcedure se non riesce a interpretare una Envelope.
CCannotConvertEnvelopeToCProcedureException() - Constructor for class SMom.Exceptions.CCannotConvertEnvelopeToCProcedureException
Costruttore con messaggio di errore standard
CCannotConvertEnvelopeToCProcedureException(String, String) - Constructor for class SMom.Exceptions.CCannotConvertEnvelopeToCProcedureException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CCannotConvertStringToEnvelopeException - exception SMom.Exceptions.CCannotConvertStringToEnvelopeException.
Eccezione lanciata da una CEnvelope quando non riesce a convertire una stringa in envelope
CCannotConvertStringToEnvelopeException(String, String) - Constructor for class SMom.Exceptions.CCannotConvertStringToEnvelopeException
 
CDynamicSkeleton - class SMom.ObjectOriented.CDynamicSkeleton.
Skeleton di base con chiamate dinamiche funzionante per una qualsiasi classe Servant.
CDynamicSkeleton() - Constructor for class SMom.ObjectOriented.CDynamicSkeleton
Costruttore di default.
CDynamicStub - class SMom.ObjectOriented.CDynamicStub.
Stub di base con chiamate dinamiche funzionante per una qualsiasi classe.
CDynamicStub(IDispatcher, String, String) - Constructor for class SMom.ObjectOriented.CDynamicStub
Costruttore dello stub dinamico.
CDynamicStub(IDispatcher, String, String, String) - Constructor for class SMom.ObjectOriented.CDynamicStub
Costruttore dello stub dinamico.
CEmptySender - class SMom.CEmptySender.
Oggetto Sender generico.
CEmptySender(String) - Constructor for class SMom.CEmptySender
Setta il valore del Sender/Receiver ObjectID
CEnvelope - class SMom.CEnvelope.
Rappresentazione di una busta (lettera) tramite cui si inviano messaggi con il middleware.
CEnvelope() - Constructor for class SMom.CEnvelope
Costruttore di default della busta vuota
CEnvelope(ISender, IReceiver, String) - Constructor for class SMom.CEnvelope
Costruisce una CEnvelope assegnandole già i valori necessari
CEnvelope(ISender, String, String) - Constructor for class SMom.CEnvelope
Costruisce una CEnvelope assegnandole già i valori necessari.
CEnvelope(String) - Constructor for class SMom.CEnvelope
Tenta di costruire una Envelope dalla sua rappresentazione in forma di stringa.
CEnvelopeTrace - class SMom.CEnvelopeTrace.
Classe contenente informazioni utili per la tracciabilità della lettera.
CEnvelopeTrace() - Constructor for class SMom.CEnvelopeTrace
Costruttore vuoto
CEnvelopeTrace(String) - Constructor for class SMom.CEnvelopeTrace
Crea un nuovo pacchetto di traccia impostando il MsgManager remoto che ha inviato il messaggio
CFunctionResult - class SMom.ObjectOriented.CFunctionResult.
Oggetto Rappresentante il risultato di una funzione.
CFunctionResult(CEnvelope) - Constructor for class SMom.ObjectOriented.CFunctionResult
Crea un nuovo oggetto dall messaggio contenuto nella busta Genera una eccezione in caso di impossibilità nel decifrare il messaggio.
CFunctionResult(CProcedure, boolean, CValue) - Constructor for class SMom.ObjectOriented.CFunctionResult
Crea un nuovo risultato indicando la procedura ed il suo risultato
CharDelimiter - Static variable in class SMom.CEnvelope
Carattere usato come delimitatore per le intestazioni dei messaggi
CharDelimiter - Static variable in class SMom.ObjectOriented.CProcedure
Carattere delimitatore utilizzato
CharDelimiter - Static variable in class SMom.ObjectOriented.CFunctionResult
Carattere delimitatore utilizzato.
CInt32Value - class SMom.ObjectOriented.Values.CInt32Value.
Oggetto che rappresenta un valore di tipo Integer a 32 bit (int in Java).
CInt32Value() - Constructor for class SMom.ObjectOriented.Values.CInt32Value
Costruttore di default.
CInt32Value(int) - Constructor for class SMom.ObjectOriented.Values.CInt32Value
Costruttore di default.
CLocalManager - class SMom.MsgManager.CLocalManager.
Manager utilizzabile all'interno di una singola applicazione per inviare messaggi ad oggetti locali.
CLocalManager() - Constructor for class SMom.MsgManager.CLocalManager
Crea un nuovo manager locale con indirizzo predefinito univoco
ClsTestProcedures - class TestSMom.ClsTestProcedures.
Classe di test per il progetto SMom.
ClsTestProcedures_DynamicStub - class TestSMom.ClsTestProcedures_DynamicStub.
Proxy che usa skeleton dinamico per la classe di test in Java.
ClsTestProcedures_DynamicStub(TextArea, CDynamicStub) - Constructor for class TestSMom.ClsTestProcedures_DynamicStub
 
ClsTestProcedures(TextArea) - Constructor for class TestSMom.ClsTestProcedures
 
Colpita - Static variable in class NavalBattle.casella
Il colore della barca Colpita.
CommandFromVbListener - class BattagliaNavaleFromVb.CommandFromVbListener.
Classe utile per ricevere i comandi da Visual Basic.
CommandFromVbListener(String) - Constructor for class BattagliaNavaleFromVb.CommandFromVbListener
Costruttore al quale viene indicato l'ID del pari Visual Basic
ComputeDiff(int, int) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: procedura con risultato anche negativo
ComputeDiff(int, int) - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: procedura con risultato anche negativo
ComputeSum(int, int) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: procedura con argomenti interi ma senza risultato.
ComputeSum(int, int) - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: procedura con argomenti interi ma senza risultato.
Concatena(String, String, String) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: funzione con parametri e risultati Stringa
Concatena(String, String, String) - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: funzione con parametri e risultati Stringa
CProcedure - class SMom.ObjectOriented.CProcedure.
Oggetto Funzione utile per incapsulare chiamate a procedura remote.
CProcedure() - Constructor for class SMom.ObjectOriented.CProcedure
Costruisce una nuova procedura vuota
CProcedure(CEnvelope) - Constructor for class SMom.ObjectOriented.CProcedure
Costruisce una nuova procedura indicando già il nome
CProcedure(String) - Constructor for class SMom.ObjectOriented.CProcedure
Costruisce una nuova procedura indicando già il nome
Create(Object) - Static method in class SMom.ObjectOriented.Values.CValue
Crea una istanza della classe partendo da un oggetto del tipo giusto
Create(Object) - Static method in class SMom.ObjectOriented.Values.CStringValue
Crea una istanza della classe partendo da un oggetto del tipo giusto
Create(Object) - Static method in class SMom.ObjectOriented.Values.CInt32Value
Crea una istanza della classe partendo da un oggetto del tipo giusto
CreateCValue(Object) - Static method in class SMom.ObjectOriented.Values.CValue
Tenta di creare un CValue corretto recuperando il valore dall'oggetto indicato.
CRemoteException - exception SMom.Exceptions.CRemoteException.
Eccezione generata da un oggetto remoto e quindi ricreata in locale.
CRemoteException() - Constructor for class SMom.Exceptions.CRemoteException
Costruttore con messaggio di errore standard
CRemoteException(String, String) - Constructor for class SMom.Exceptions.CRemoteException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CSinchronusAndSequentialDispatcher - class SMom.Dispatcher.CSinchronusAndSequentialDispatcher.
Semplice Dispatcher di messaggi sincrono e sequenziale.
CSinchronusAndSequentialDispatcher() - Constructor for class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Costruttore di default della classe
CSMomException - exception SMom.Exceptions.CSMomException.
Eccezione generica del servizio Simple Message Oriented Middleware.
CSMomException() - Constructor for class SMom.Exceptions.CSMomException
Costruttore con messaggio di errore standard
CSMomException(String, String) - Constructor for class SMom.Exceptions.CSMomException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CStringValue - class SMom.ObjectOriented.Values.CStringValue.
Oggetto che rappresenta un valore di tipo Stringa.
CStringValue() - Constructor for class SMom.ObjectOriented.Values.CStringValue
Costruttore di default.
CStringValue(String) - Constructor for class SMom.ObjectOriented.Values.CStringValue
Costruttore mediante Stringa
CTcpManager - class SMom.MsgManager.CTcpManager.
Manager utilizzabile per connettere due applicazioni differenti via IP
Il manager funge da Server su porta TCP per ricevere i messaggi.
CTcpManager() - Constructor for class SMom.MsgManager.CTcpManager
 
CTcpManager(int) - Constructor for class SMom.MsgManager.CTcpManager
 
CTcpManagerSlave - class SMom.MsgManager.CTcpManagerSlave.
Thread Slave che ascolta la singola connessione verso un Manger remoto.
CTcpManagerSlave(CTcpManager) - Constructor for class SMom.MsgManager.CTcpManagerSlave
 
CTcpManagerSlave(CTcpManager, Socket) - Constructor for class SMom.MsgManager.CTcpManagerSlave
Il costruttore accetta una socket aperta derivata da una Accept del server Successivamente chiamare il metodo del thread start() per iniziare
CTestOOSMom - class TestSMom.CTestOOSMom.
Classe di test per il supporto ObjectOriented del sistema Simple Message Oriented Middleware.
CTestOOSMom(int) - Constructor for class TestSMom.CTestOOSMom
Costruttore della finestra grafica
CTimeOutExpiredException - exception SMom.Exceptions.CTimeOutExpiredException.
Indica che è avvenuto un TimeOut per cui una operazione è stata abortita.
CTimeOutExpiredException() - Constructor for class SMom.Exceptions.CTimeOutExpiredException
Costruttore con messaggio di errore standard
CTimeOutExpiredException(String, String) - Constructor for class SMom.Exceptions.CTimeOutExpiredException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CUnKnownRemoteException - exception SMom.Exceptions.CUnKnownRemoteException.
Eccezione generata da un oggetto remoto ma la cui descrizione non è stata specificata.
CUnKnownRemoteException() - Constructor for class SMom.Exceptions.CUnKnownRemoteException
Costruttore con messaggio di errore standard
CUnKnownRemoteException(String, String) - Constructor for class SMom.Exceptions.CUnKnownRemoteException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CUnKnownSMomException - exception SMom.Exceptions.CUnKnownSMomException.
Eccezione non riconosciuta nel Simple Message Oriented Middleware.
CUnKnownSMomException() - Constructor for class SMom.Exceptions.CUnKnownSMomException
Costruttore con messaggio di errore standard
CUnKnownSMomException(String, String) - Constructor for class SMom.Exceptions.CUnKnownSMomException
Costruttore che permette di personalizzare il messaggio di errore e l'origine dell'errore
CValue - class SMom.ObjectOriented.Values.CValue.
Classe astratta che rappresenta un valore di una variabile semplice.
CValue() - Constructor for class SMom.ObjectOriented.Values.CValue
 

D

DispatcherNotFoundException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
Divide(int, int) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: permette di testare la gestione degli errori (0/0).
Divide(int, int) - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: permette di testare la gestione degli errori (0/0).
DynamicStub - Variable in class TestSMom.ClsTestProcedures_DynamicStub
 

E

ERROR_MESSAGE - Static variable in class SMom.Exceptions.CUnKnownSMomException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CUnKnownRemoteException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CTimeOutExpiredException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CSMomException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CRemoteException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CCannotConvertStringToEnvelopeException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CCannotConvertEnvelopeToCProcedureException
Messaggio standard per l'eccezione corrente
ERROR_MESSAGE - Static variable in class SMom.Exceptions.CCannotConvertEnvelopeToCFunctionResultException
Messaggio standard per l'eccezione corrente

F

finalize() - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
 
frame - class NavalBattle.frame.
Battaglia Navale 1.1
frame() - Constructor for class NavalBattle.frame
Costruttore per mostrare le istruzioni del gioco.
frame(Applet) - Constructor for class NavalBattle.frame
Costruttore per contenere l'applet se giocato Stand Alone.
frame(Applet, boolean) - Constructor for class NavalBattle.frame
Costruttore per contenere l'applet se giocato Stand Alone.
frame(Panel) - Constructor for class NavalBattle.frame
Costruttore per mostrare le barche del computer al termine del gioco.
fromEnvelope(CEnvelope) - Method in class SMom.ObjectOriented.CProcedure
Tenta di ricostruire la procedura dalla sua rappresentazione in forma di stringa contenuta nella busta.
fromEnvelope(CEnvelope) - Method in class SMom.ObjectOriented.CFunctionResult
Tenta di ricostruire la procedura dalla sua rappresentazione in forma di stringa contenuta nella busta.
FunctionResult - Variable in class SMom.ObjectOriented.CFunctionResult
Valore restituito dalla funzione

G

getActualValueToString() - Method in class SMom.ObjectOriented.Values.CValue
Restituisce la rappresentazione in forma di stringa del valore memorizzato
getActualValueToString() - Method in class SMom.ObjectOriented.Values.CStringValue
Restituisce la rappresentazione in forma di stringa del valore memorizzato
getActualValueToString() - Method in class SMom.ObjectOriented.Values.CInt32Value
Restituisce la rappresentazione in forma di stringa del valore memorizzato
getAddress() - Method in interface SMom.MsgManager.IMsgManager
Indirizzo logico del manager.
getAddress() - Method in class SMom.MsgManager.CTcpManager
Indirizzo logico del manager.
getAddress() - Method in class SMom.MsgManager.CLocalManager
Indirizzo logico del manager.
getAtt() - Method in class NavalBattle.casella
Indica se la casella appartiene al campo di attacco dell'utente (o a quello di difesa).
getCol() - Method in class NavalBattle.casella
Restituisce la colonna di appartenenza della casella.
getDispatcher() - Method in interface SMom.MsgManager.IMsgManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
getDispatcher() - Method in class SMom.MsgManager.CTcpManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
getDispatcher() - Method in class SMom.MsgManager.CLocalManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
getDispatcher() - Method in class SMom.ObjectOriented.CDynamicStub
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
getFunctionName() - Method in class SMom.ObjectOriented.CFunctionResult
Accesso alla proprietà Name dell'istanza
getInstanceID() - Method in class SMom.ObjectOriented.CProcedure
Accesso alla proprietà InstanceID dell'istanza
getInstanceID() - Method in class SMom.ObjectOriented.CFunctionResult
Accesso alla proprietà InstanceID dell'istanza
getJavaClass() - Method in class SMom.ObjectOriented.Values.CValue
Restituisce la classe Java dell'oggetto esempio String o Integer, ecc...
getJavaClass() - Method in class SMom.ObjectOriented.Values.CStringValue
Restituisce la classe Java dell'oggetto esempio String o Integer, ecc...
getJavaClass() - Method in class SMom.ObjectOriented.Values.CInt32Value
Restituisce la classe Java dell'oggetto esempio String o Integer, ecc...
getKnownManagerNumber() - Method in interface SMom.MsgManager.IMsgManager
Indica il numero di manager conosciuti.
getKnownManagerNumber() - Method in class SMom.MsgManager.CTcpManager
Indica il numero di manager conosciuti.
getKnownManagerNumber() - Method in class SMom.MsgManager.CLocalManager
Indica il numero di manager conosciuti.
getLastError() - Method in class SMom.MsgManager.CTcpManager
Descrizione dell'ultimo errore
getLocalDispatcher() - Method in class SMom.CEnvelopeTrace
Identificativo del dispatcher che ha consegnato il messaggio.
getLocalIpAddress() - Method in class SMom.MsgManager.CTcpManager
Indirizzo IP di ascolto per il manager
getLocalMsgManager() - Method in class SMom.CEnvelopeTrace
Identificativo del Manager che ha consegnato il messaggio.
getMessage() - Method in class SMom.CEnvelope
Rappresentazione in forma di stringa del messaggio da inviare
getMsgManager() - Method in interface SMom.Dispatcher.IDispatcher
Identificativo dell'oggetto che si occuperà di spedire i messaggi ai destinatari
getMsgManager() - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Identificativo dell'oggetto che si occuperà di spedire i messaggi ai destinatari
getName() - Method in class SMom.ObjectOriented.CProcedure
Accesso alla proprietà Name dell'istanza
getObjectID() - Method in class BattagliaNavaleFromVb.CommandFromVbListener
L'Object ID è costante, ovvero CommandFromVbListener
getObjectID() - Method in class BattagliaNavaleFromVb.VbWrapper
L'Object ID è costante, ovvero VbWrapper
getObjectID() - Method in interface SMom.ISender
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
getObjectID() - Method in interface SMom.IReceiver
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
getObjectID() - Method in class SMom.CEmptySender
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
getObjectID() - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce lo StubID utiler per inviare e ricevere messaggi
getObjectID() - Method in class SMom.ObjectOriented.CDynamicSkeleton
Id dell'oggetto.
GetParam(int) - Method in class SMom.ObjectOriented.CProcedure
Permette di recuperare il parametro all'indice indicato della procedura Restituisce null se all'indice non corrisponde alcun parametro
GetParams() - Method in class SMom.ObjectOriented.CProcedure
Restituisce un array degli oggetti parametri della procedura.
GetParamsClass() - Method in class SMom.ObjectOriented.CProcedure
Restituisce un array di oggetti di tipo Class in Java avendo in ingresso una procedura.
GetParamsCount() - Method in class SMom.ObjectOriented.CProcedure
Indica il numero di parametri attualmente memorizzati per la procedura
getPort() - Method in class SMom.MsgManager.CTcpManager
Porta di ascolto per il manager
getReceiver() - Method in class SMom.CEnvelope
Identificativo del destinatario del messaggio
getRemoteMsgManagerAddress() - Method in class SMom.CEnvelopeTrace
Identificativo del Manager remoto che ha consegnato il messaggio.
getRemoteMsgManagerAddress() - Method in class SMom.ObjectOriented.CDynamicStub
Indirizzo di ricezione del manager remoto
getRemoteSkeletonID() - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce l'identificativo univoco all'interno della applicazione remota dello skeleton di destinazione
getResponseMessage(boolean, CValue) - Method in class SMom.ObjectOriented.CProcedure
Restituisce un oggetto CFunctionResult pronto per essere restituito al mittente E' necessario indicare se il risultato è valido e l'eventuale risultato della funzione
GetResult(String) - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce il risultato della invocazione remota.
getRow() - Method in class NavalBattle.casella
Restituisce la riga di appartenenza della casella.
getSender() - Method in class SMom.CEnvelope
Identificativo del mittente del messaggio
getServant() - Method in class SMom.ObjectOriented.CDynamicSkeleton
Oggetto Servant che esegue le operazioni
getSkeletonID() - Method in class SMom.ObjectOriented.CDynamicSkeleton
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
getSMomException(int, String, String) - Static method in class SMom.Exceptions.CSMomException
Restituisce un oggetto eccezione definito tramite il codice standard.
getStubID() - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
GetSum(int, int) - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: funzione con risultato intero.
GetSum(int, int) - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: funzione con risultato intero.
getTimeOutMilliSeconds() - Method in class SMom.ObjectOriented.CDynamicStub
Milli secondi dopo il quale scatterà il timeout se non giunge il risultato della chiamata a funzione
getTimeStamp() - Static method in class SMom.SMomUtilities
Restituisce una stringa contenente un identificativo univoco che indica l'istante corrente
getTraceRoute() - Method in class SMom.CEnvelope
Informazioni per la tracciabilità del messaggio.
getType() - Method in class SMom.ObjectOriented.Values.CValue
Restituisce il nome del tipo di dato memorizzato
getType() - Method in class SMom.ObjectOriented.Values.CStringValue
Restituisce il nome del tipo di dato memorizzato
getType() - Method in class SMom.ObjectOriented.Values.CInt32Value
Restituisce il nome del tipo di dato memorizzato
getUniqueIdentifier() - Static method in class SMom.SMomUtilities
Restituisce una stringa che dovrebbe comporre un identificaore univoco
getValue() - Method in class SMom.ObjectOriented.Values.CStringValue
Accesso al valore memorizzato
getValue() - Method in class SMom.ObjectOriented.Values.CInt32Value
Accesso al valore memorizzato

H

hello() - Method in class TestSMom.ClsTestProcedures_DynamicStub
Funzione pubblica di test: procedura senza argomenti.
hello() - Method in class TestSMom.ClsTestProcedures
Funzione pubblica di test: procedura senza argomenti.
HoldResult(String, long) - Method in class SMom.ObjectOriented.CDynamicStub
Chiamare questa procedura se si desidera attendere il risultato della chiamata a funzione remota precedentemente effettuata.

I

IDispatcher - interface SMom.Dispatcher.IDispatcher.
Interfaccia di un Dispatcher di messaggi.
IMsgManager - interface SMom.MsgManager.IMsgManager.
Interfaccia di un Manager che consente di inviare e ricevere messaggi.
init() - Method in class NavalBattle.BattagliaNavale
Inizializzazione dell'applet.
InvalidTraceRouteDataException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
IReceiver - interface SMom.IReceiver.
Interfaccia di un Ricevente di messaggi in SMom.
isBoat() - Method in class NavalBattle.casella
Indica se è presente una parte di una barca nella casella.
ISender - interface SMom.ISender.
Interfaccia di un Sender di messaggi in SMom.
IsRegistered(CLocalManager) - Method in class SMom.MsgManager.CLocalManager
Consente di sapere se un Manager è registrato.
IsResultArrived(String) - Method in class SMom.ObjectOriented.CDynamicStub
Verifica se è arrivato il risultato della richiesta
isShot() - Method in class NavalBattle.casella
Indica se la casella è già stata giocata.
IsValid() - Method in class SMom.ObjectOriented.CFunctionResult
Accesso alla proprietà IsValid dell'istanza

L

LastError() - Method in class SMom.MsgManager.CTcpManagerSlave
 

M

main(String[]) - Static method in class BattagliaNavaleFromVb.VbWrapper
 
main(String[]) - Static method in class NavalBattle.BattagliaNavale
Il main serve per far partire il programma Stand Alone.
main(String[]) - Static method in class TestSMom.CTestOOSMom
Procedura di inizializzazione.
MethodNotFoundException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
MODO_LOCALE - Static variable in class TestSMom.CTestOOSMom
 
MODO_REMOTO_CLIENT - Static variable in class TestSMom.CTestOOSMom
 
MODO_REMOTO_SERVER - Static variable in class TestSMom.CTestOOSMom
 
MODO_TCP_LOCALE - Static variable in class TestSMom.CTestOOSMom
 
mouseClicked(MouseEvent) - Method in class NavalBattle.BattagliaNavale
Elemento richiesto ma NON utilizzato dal programma.
mouseEntered(MouseEvent) - Method in class NavalBattle.BattagliaNavale
Elemento richiesto ma NON utilizzato dal programma.
mouseExited(MouseEvent) - Method in class NavalBattle.BattagliaNavale
Elemento richiesto ma NON utilizzato dal programma.
mousePressed(MouseEvent) - Method in class NavalBattle.BattagliaNavale
Questo elemento riceve gli input del Mouse sulle Tabelle di gioco.
mouseReleased(MouseEvent) - Method in class NavalBattle.BattagliaNavale
Elemento richiesto ma NON utilizzato dal programma.
msgArrived(CEnvelope) - Method in class BattagliaNavaleFromVb.CommandFromVbListener
Esistono diversi tipi di messaggi che possono giungere.
msgArrived(CEnvelope) - Method in class BattagliaNavaleFromVb.VbWrapper
Dovrebbero giungere messaggi di HELLO e BYE L'identificativo del sender deve comparire nella Envelope come Sender.
msgArrived(CEnvelope) - Method in interface SMom.IReceiver
Funzione di CallBack che notifica il ricevente dell'arrivo di un messaggio a lui indirizzato.
msgArrived(CEnvelope) - Method in class SMom.CEmptySender
Funzione di CallBack che notifica il ricevente dell'arrivo di un messaggio a lui indirizzato.
msgArrived(CEnvelope) - Method in interface SMom.Dispatcher.IDispatcher
Funzione di CallBack chiamata dal Manager che richiede al dispatcher di inviare il messaggio ad uno dei riceventi registratisi
msgArrived(CEnvelope) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Invia il messaggio ad uno dei riceventi registrati
msgArrived(CEnvelope) - Method in class SMom.ObjectOriented.CDynamicStub
 
msgArrived(CEnvelope) - Method in class SMom.ObjectOriented.CDynamicSkeleton
Gestisce il messaggio in arrivo rimbalzando la richiesta alla classe Servant
MsgManagerNotFoundException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
MyRandom - class NavalBattle.MyRandom.
MyRandom
MyRandom() - Constructor for class NavalBattle.MyRandom
Inizializza la classe utilizzando il Timer del sistema.
MyRandom(long) - Constructor for class NavalBattle.MyRandom
Inizializza la classe utilizzando Seed.

N

NavalBattle - package NavalBattle
Unico package del gioco BattagliaNavale (NavalBattle)
nextBoolean() - Method in class NavalBattle.MyRandom
Restituisce un valore di tipo boolean.
nextBytes(byte[]) - Method in class NavalBattle.MyRandom
Restituisce un valore di tipo byte.
nextDouble() - Method in class NavalBattle.MyRandom
Restituisce un double.
nextFloat() - Method in class NavalBattle.MyRandom
Restituisce un float.
nextGaussian() - Method in class NavalBattle.MyRandom
 
nextInt() - Method in class NavalBattle.MyRandom
Restituisce un Intero (a 32 bit) positivo o negativo.
nextInt(int) - Method in class NavalBattle.MyRandom
Restituisce un numero intero positivo nel seguente intervallo:
0 <= x < max
Notare che il valore è sempre minore di max!
nextLong() - Method in class NavalBattle.MyRandom
Restituisce un long.
NonColpita - Static variable in class NavalBattle.casella
Il colore della barca Non Colpita (solo Acqua).
NuovaPartita() - Method in class NavalBattle.BattagliaNavale
 

P

parseFromString(String) - Static method in class SMom.ObjectOriented.CProcedure
Esegue il parsing di un valore da una stringa
preparaBarcheUtente(int, int) - Method in class NavalBattle.BattagliaNavale
 

R

RaiseSMomException(int, String, String) - Static method in class SMom.Exceptions.CSMomException
Permette di generare una eccezione con un commento standard.
ReceiverNotFoundException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
Register(CLocalManager) - Method in class SMom.MsgManager.CLocalManager
Funzione che permette di registrare un ulteriore Manager locale per la notifica di messaggi.
Register(IReceiver) - Method in interface SMom.Dispatcher.IDispatcher
Funzione che permette ad un possibile destinatario di messaggi, di registrarsi presso il dispatcher
Register(IReceiver) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Funzione che permette ad un possibile destinatario di messaggi, di registrarsi presso il dispatcher
remBoat() - Method in class NavalBattle.casella
Rimuove la barca dalla casella se presente.
RemoteException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
RemoveRemoteHost(CTcpManagerSlave) - Method in class SMom.MsgManager.CTcpManager
Funzione chiamata dallo slave nel momento in cui viene chiusa la socket o in altri casi di errore
Replay(String, ISender) - Method in class SMom.CEnvelope
Grazie alle funzionalità di tracciabilità è possibile rispondere al messaggio semplicemente indicando il messaggio di ritorno.
run() - Method in class SMom.MsgManager.CTcpManagerSlave
 
run() - Method in class SMom.MsgManager.CTcpManager
Metodo che mette in ascolto il server in un thread nuovo attraverso il metodo Start()

S

segnaCaselleLateraliUt() - Method in class NavalBattle.BattagliaNavale
 
Send(CEnvelope, String) - Method in interface SMom.Dispatcher.IDispatcher
Funzione che permette di inviare un messaggio ad un Manager di messaggi destinatario Per poter inviare un messaggio è necessario aver legato il dispatcher ad un MsgManager!
Send(CEnvelope, String) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Spedice al manager la richiesta di invio in maniera sequenziale e sincrona.
Send(CEnvelope, String) - Method in interface SMom.MsgManager.IMsgManager
Funzione che permette di inviare un messaggio ad un Manager di messaggi destinatario Restituisce False se l'invio non va a buon fine.
Send(CEnvelope, String) - Method in class SMom.MsgManager.CTcpManager
La funzione ignora il MngAddress Restituisce False se il manager non è nell'elenco dei manager registrati.
Send(CEnvelope, String) - Method in class SMom.MsgManager.CLocalManager
La funzione ignora il MngAddress Restituisce False se il manager non è nell'elenco dei manager registrati.
SendTCPMessage(CEnvelope) - Method in class SMom.MsgManager.CTcpManagerSlave
 
SendToYou(CEnvelope) - Method in class SMom.MsgManager.CLocalManager
Funzione chiamata dagli altri manager locali indicando che il messaggio è per me
SendToYou(CEnvelope, String) - Method in class SMom.MsgManager.CTcpManager
Funzione chiamata dagli slave in ascolto quando arriva un messaggio
setActualValueFromString(String) - Method in class SMom.ObjectOriented.Values.CValue
Setta il valore memorizzato dalla rappresentazione in forma di stringa
setActualValueFromString(String) - Method in class SMom.ObjectOriented.Values.CStringValue
Setta il valore memorizzato dalla rappresentazione in forma di stringa
setActualValueFromString(String) - Method in class SMom.ObjectOriented.Values.CInt32Value
Setta il valore memorizzato dalla rappresentazione in forma di stringa
setBoat() - Method in class NavalBattle.casella
Inserisce una barca nella casella.
setDispatcher(IDispatcher) - Method in interface SMom.MsgManager.IMsgManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
setDispatcher(IDispatcher) - Method in class SMom.MsgManager.CTcpManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
setDispatcher(IDispatcher) - Method in class SMom.MsgManager.CLocalManager
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
setDispatcher(IDispatcher) - Method in class SMom.ObjectOriented.CDynamicStub
Identificativo dell'oggetto che si occuperà di indirizzare i messaggi ai destinatari
setInstanceID(String) - Method in class SMom.ObjectOriented.CProcedure
Accesso alla proprietà InstanceID dell'istanza
setIsValid(boolean) - Method in class SMom.ObjectOriented.CFunctionResult
Accesso alla proprietà IsValid dell'istanza
setKilled() - Method in class NavalBattle.casella
Imposta la casella con il layout di una barca affondata.
setLocalDispatcher(IDispatcher) - Method in class SMom.CEnvelopeTrace
Identificativo del dispatcher che ha consegnato il messaggio.
setLocalMsgManager(IMsgManager) - Method in class SMom.CEnvelopeTrace
Identificativo del Manager che ha consegnato il messaggio.
setMessage(String) - Method in class SMom.CEnvelope
Rappresentazione in forma di stringa del messaggio da inviare
setMsgManager(IMsgManager) - Method in interface SMom.Dispatcher.IDispatcher
Identificativo dell'oggetto che si occuperà di spedire i messaggi ai destinatari
setMsgManager(IMsgManager) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Identificativo dell'oggetto che si occuperà di spedire i messaggi ai destinatari
setName(String) - Method in class SMom.ObjectOriented.CProcedure
Accesso alla proprietà Name dell'istanza
setObjectID(String) - Method in class SMom.CEmptySender
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
setReceiver(IReceiver) - Method in class SMom.CEnvelope
Identificativo del destinatario del messaggio
setReceiverByObjectID(String) - Method in class SMom.CEnvelope
Setta come ricevente un semplice segnaposto con l'ID indicato
setRemoteMsgManagerAddress(String) - Method in class SMom.CEnvelopeTrace
Identificativo del Manager remoto che ha consegnato il messaggio Attributo utile per motivi di tracciabilità
setRemoteMsgManagerAddress(String) - Method in class SMom.ObjectOriented.CDynamicStub
Indirizzo di ricezione del manager remoto
setRemoteSkeletonID(String) - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce l'identificativo univoco all'interno della applicazione remota dello skeleton di destinazione
setSeed(long) - Method in class NavalBattle.MyRandom
Cambia l'inizializzatore dell'istanza.
setSender(ISender) - Method in class SMom.CEnvelope
Identificativo del mittente del messaggio
setServant(Object) - Method in class SMom.ObjectOriented.CDynamicSkeleton
Oggetto Servant che esegue le operazioni
setShot() - Method in class NavalBattle.casella
Imposta la casella come gia giocata.
setSkeletonID(String) - Method in class SMom.ObjectOriented.CDynamicSkeleton
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
setStubID(String) - Method in class SMom.ObjectOriented.CDynamicStub
Restituisce l'identificativo univoco all'interno di questa applicazione dell'oggetto
setTimeOutMilliSeconds(long) - Method in class SMom.ObjectOriented.CDynamicStub
Milli secondi dopo il quale scatterà il timeout se non giunge il risultato della chiamata a funzione
setTraceRoute(CEnvelopeTrace) - Method in class SMom.CEnvelope
Informazioni per la tracciabilità del messaggio.
setValue(int) - Method in class SMom.ObjectOriented.Values.CInt32Value
Accesso al valore memorizzato
setValue(String) - Method in class SMom.ObjectOriented.Values.CStringValue
Accesso al valore memorizzato
shoot() - Method in class NavalBattle.casella
Imposta la casella come gia gicata e la visualizza come tale sia nel caso in cui ci sia una barca sia che non ci sia una barca.
ShowIstruzioni() - Method in class NavalBattle.BattagliaNavale
Mostra le istruzioni al gioco
SMom - package SMom
Package di riferimento per il progetto Simple Message Oriented Middleware.
SMom.Dispatcher - package SMom.Dispatcher
Il package contiene i dispatcher dei messaggi.
SMom.Exceptions - package SMom.Exceptions
Eccezioni del progetto SMom.
SMom.MsgManager - package SMom.MsgManager
Il package contiene i gestori dei messaggi.
SMom.ObjectOriented - package SMom.ObjectOriented
 
SMom.ObjectOriented.Values - package SMom.ObjectOriented.Values
 
SMomUtilities - class SMom.SMomUtilities.
Modulo di utilità.
SMomUtilities() - Constructor for class SMom.SMomUtilities
 
StartConnecting(String, int) - Method in class SMom.MsgManager.CTcpManagerSlave
Richiede allo slave di tentare una connessione Client verso l'indirizzo indicato
StartListenforMessages() - Method in class SMom.MsgManager.CTcpManager
Permette di cominciare ad ascoltare sulla porta indicata i messaggi in ingresso
StopListenforMessages() - Method in class SMom.MsgManager.CTcpManager
Permette di cominciare ad ascoltare sulla porta indicata i messaggi in ingresso

T

t - Variable in class TestSMom.ClsTestProcedures
 
TestSMom - package TestSMom
Pacchetto di test per SMom
TimeOutExpiredException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
toEnvelope(ISender, String) - Method in class SMom.ObjectOriented.CProcedure
Rappresentazione della procedura per essere inviata.
toJavaObject() - Method in class SMom.ObjectOriented.Values.CValue
Restituisce la rappresentazione in un oggetto Java del valore contenuto.
toJavaObject() - Method in class SMom.ObjectOriented.Values.CStringValue
Restituisce la rappresentazione in un oggetto Java del valore contenuto.
toJavaObject() - Method in class SMom.ObjectOriented.Values.CInt32Value
Restituisce la rappresentazione in un oggetto Java del valore contenuto.
toMsgEnvelope() - Method in class SMom.ObjectOriented.CFunctionResult
Rappresentazione del risultato per essere inviato.
TooManyArgumentsForCallByName - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
toString() - Method in class SMom.CEnvelope
Permette di recuperare una rappresentazione in forma di stringa dell'oggetto formato:
toString() - Method in class SMom.ObjectOriented.CProcedure
Rappresentazione semplice in forma di stringa della procedura

U

UnKnownRemoteException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
UnKnownSMomException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
UnRegister(CLocalManager) - Method in class SMom.MsgManager.CLocalManager
Funzione che permette ad un possibile destinatario di messaggi, precedentemente registratosi, di deregistrarsi presso il dispatcher Se il manager non risulta registrato la funzione restituirà comunque true.
UnRegister(IReceiver) - Method in interface SMom.Dispatcher.IDispatcher
Funzione che permette ad un possibile destinatario di messaggi, precedentemente registratosi, di deregistrarsi presso il dispatcher
UnRegister(IReceiver) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Funzione che permette ad un possibile destinatario di messaggi, precedentemente registratosi, di deregistrarsi presso il dispatcher
UnRegister(String) - Method in interface SMom.Dispatcher.IDispatcher
Funzione che permette ad un possibile destinatario di messaggi, precedentemente registratosi, di deregistrarsi presso il dispatcher
UnRegister(String) - Method in class SMom.Dispatcher.CSinchronusAndSequentialDispatcher
Funzione che permette ad un possibile destinatario di messaggi, precedentemente registratosi, di deregistrarsi presso il dispatcher

V

VarTypeUnKnownException - Static variable in class SMom.Exceptions.CSMomException
Codice di errore lanciato dal servizio SMom
vbCrLf - Static variable in class SMom.SMomUtilities
Costanti di ritorno a capo
VbWrapper - class BattagliaNavaleFromVb.VbWrapper.
Funge da Server per i processi Vb.
VoglioSmettere() - Method in class NavalBattle.BattagliaNavale
 

W

windowActivated(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowActivated(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowClosed(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowClosed(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowClosing(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowClosing(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowDeactivated(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowDeactivated(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowDeiconified(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowDeiconified(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowIconified(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowIconified(WindowEvent) - Method in class TestSMom.CTestOOSMom
 
windowOpened(WindowEvent) - Method in class NavalBattle.frame
Necessaria per gestire gli eventi sulla finestra.
windowOpened(WindowEvent) - Method in class TestSMom.CTestOOSMom
 

A B C D E F G H I L M N P R S T U V W

Copyright © 2004 Giorgio Bernardi. All Rights Reserved.