org.illeva.remcom.cmdsock
Class SocketEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.illeva.remcom.cmdsock.SocketEvent
All Implemented Interfaces:
java.io.Serializable

public class SocketEvent
extends java.util.EventObject

E' l'evento che lapplicazione target deve gestire.

See Also:
Serialized Form

Field Summary
static int APP_CMD
          E' un evento di tipo applicativo.
static int APP_CMDLIST
           
static int APP_PARAM
           
static int WIN_CLOSE
           
static int WIN_CMD
          E' un evento di tipo Window che in qualche modo riguarda la GUI dell'applicazione target
static int WIN_HIDE
           
static int WIN_SHOW
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SocketEvent(java.lang.Object aSource, int aType, int aCommand)
          Costruttore dell'evento con parametro nullo.
SocketEvent(java.lang.Object aSource, int aType, int aCommand, java.lang.String aParam)
          Costruttore dell'evento.
 
Method Summary
 int getCommand()
          Ritorna il comando da eseguire.
 java.lang.String getParam()
          Ritorna il parametro del comando.
 int getType()
          Ritorna il tipo di comando.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WIN_CMD

public static final int WIN_CMD
E' un evento di tipo Window che in qualche modo riguarda la GUI dell'applicazione target

See Also:
Constant Field Values

APP_CMD

public static final int APP_CMD
E' un evento di tipo applicativo.

See Also:
Constant Field Values

WIN_CLOSE

public static final int WIN_CLOSE
See Also:
Constant Field Values

WIN_HIDE

public static final int WIN_HIDE
See Also:
Constant Field Values

WIN_SHOW

public static final int WIN_SHOW
See Also:
Constant Field Values

APP_PARAM

public static final int APP_PARAM
See Also:
Constant Field Values

APP_CMDLIST

public static final int APP_CMDLIST
See Also:
Constant Field Values
Constructor Detail

SocketEvent

public SocketEvent(java.lang.Object aSource,
                   int aType,
                   int aCommand,
                   java.lang.String aParam)
Costruttore dell'evento.


SocketEvent

public SocketEvent(java.lang.Object aSource,
                   int aType,
                   int aCommand)
Costruttore dell'evento con parametro nullo.

Method Detail

getType

public int getType()
Ritorna il tipo di comando.


getCommand

public int getCommand()
Ritorna il comando da eseguire.


getParam

public java.lang.String getParam()
Ritorna il parametro del comando.