jaugment2.mail
Class MailSender.MailEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--net.jini.core.event.RemoteEvent
              |
              +--jaugment2.mail.MailSender.MailEvent
Direct Known Subclasses:
JavaMailService.JavaMailServiceEvent
Enclosing class:
MailSender

public static class MailSender.MailEvent
extends net.jini.core.event.RemoteEvent

Class for events thrown here

See Also:
Serialized Form

Field Summary
static int EVID_FOLDER_CREATED
          obj is a String with the name of the folder
static int EVID_FOLDER_DELETED
          obj is a String with the name of the folder
static int EVID_FOLDER_RENAMED
          obj will be the new name, hfolder the handle for the old folder
static int EVID_LOSTDIRECTORYSERVICEPROXY
           
static int EVID_MSG_ARRIVED
          obj will an array of MailSenderMessage containing the new messages including their content
static int EVID_MSG_CHANGED
          obj will the MailSenderMessage containing the changed message including their content
static int EVID_MSG_REMOVED
          obj will an array of MailSenderMessage containing the removed messages including their content
static int EVID_NEWDIRECTORYSERVICEPROXY
           
static int EVID_NEWTEXTEDITORPROXY
           
 MailSender.FolderHandle hfolder
           
 MailSender.MessageHandle hmessage
           
 MailSender.StoreHandle hstore
           
 java.lang.Object obj
          For EVID_[NEW|LOST]*PROXY this is the serialized proxy
 
Fields inherited from class net.jini.core.event.RemoteEvent
eventID, handback, seqNum, serialVersionUID, source
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MailSender.MailEvent(java.lang.Object proxy, long eventID, long seqNum, java.rmi.MarshalledObject handback, java.lang.Object obj)
           
MailSender.MailEvent(java.lang.Object proxy, long eventID, long seqNum, java.rmi.MarshalledObject handback, java.lang.Object obj, MailSender.StoreHandle hstore, MailSender.FolderHandle hfolder, MailSender.MessageHandle hmessage)
           
 
Methods inherited from class net.jini.core.event.RemoteEvent
getID, getRegistrationObject, getSequenceNumber, readObject
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

EVID_NEWTEXTEDITORPROXY

public static final int EVID_NEWTEXTEDITORPROXY

EVID_NEWDIRECTORYSERVICEPROXY

public static final int EVID_NEWDIRECTORYSERVICEPROXY

EVID_LOSTDIRECTORYSERVICEPROXY

public static final int EVID_LOSTDIRECTORYSERVICEPROXY

EVID_FOLDER_CREATED

public static final int EVID_FOLDER_CREATED
obj is a String with the name of the folder

EVID_FOLDER_DELETED

public static final int EVID_FOLDER_DELETED
obj is a String with the name of the folder

EVID_FOLDER_RENAMED

public static final int EVID_FOLDER_RENAMED
obj will be the new name, hfolder the handle for the old folder

EVID_MSG_ARRIVED

public static final int EVID_MSG_ARRIVED
obj will an array of MailSenderMessage containing the new messages including their content

EVID_MSG_REMOVED

public static final int EVID_MSG_REMOVED
obj will an array of MailSenderMessage containing the removed messages including their content

EVID_MSG_CHANGED

public static final int EVID_MSG_CHANGED
obj will the MailSenderMessage containing the changed message including their content

hstore

public MailSender.StoreHandle hstore

hfolder

public MailSender.FolderHandle hfolder

hmessage

public MailSender.MessageHandle hmessage

obj

public java.lang.Object obj
For EVID_[NEW|LOST]*PROXY this is the serialized proxy
Constructor Detail

MailSender.MailEvent

public MailSender.MailEvent(java.lang.Object proxy,
                            long eventID,
                            long seqNum,
                            java.rmi.MarshalledObject handback,
                            java.lang.Object obj)

MailSender.MailEvent

public MailSender.MailEvent(java.lang.Object proxy,
                            long eventID,
                            long seqNum,
                            java.rmi.MarshalledObject handback,
                            java.lang.Object obj,
                            MailSender.StoreHandle hstore,
                            MailSender.FolderHandle hfolder,
                            MailSender.MessageHandle hmessage)