|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.addressbook.event.BAddressBookCE
This implementation of BCommandEvent provides a way for the client to request address book data from the client and server address books
| Field Summary | |
static int |
kAddAddress
Indicates that the client wishes to add the given address. |
static int |
kListAddressBook
Indicates that the client wishes the address book to be provided. |
static int |
kRemoveAddress
Indicates that the client wishes to remove the given address. |
static int |
kUpdateAddress
Indicates the supplied address needs to be updated or added as necessary |
| Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
connectionID,
index,
kBroadcast,
kClient,
kClientDone,
kLocal,
kServer,
kServerDone,
networkStatus,
serialVersionUID |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
BAddressBookCE(Object source,
int requestType,
BCommandComplete complete)
Create a user request object with the given request type |
|
| Method Summary | |
BAddress |
getAddress()
Supplies the address associated with this request |
int |
getAddressBookOrigin()
|
Vector |
getAddressList()
Supplies the addressBook (associated with kListAddressBook) |
BAddress |
getModifyAddress()
Supplies the modifyAddress associated with the kUpdateRequest type. |
int |
getRequest()
Indicates the type of request this is |
void |
setAddress(BAddress address)
Sets the address to operate on |
void |
setAddressBookOrigin(int origin)
Set the address book origin (client or server) |
void |
setAddressList(Vector addressList)
Sets the addressBook (associated with kListAddressBook) |
void |
setModifyAddress(BAddress modifyAddress)
Set's the modifyAddress associated with the kUpdateRequest type. |
| Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
| 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 |
public static final int kListAddressBook
public static final int kAddAddress
public static final int kRemoveAddress
public static final int kUpdateAddress
| Constructor Detail |
public BAddressBookCE(Object source,
int requestType,
BCommandComplete complete)
requestType - The type of request being made| Method Detail |
public int getRequest()
public void setAddress(BAddress address)
public BAddress getAddress()
public void setModifyAddress(BAddress modifyAddress)
The - address associated with this requestpublic BAddress getModifyAddress()
public void setAddressList(Vector addressList)
addressBook - the releveant address bookpublic Vector getAddressList()
public void setAddressBookOrigin(int origin)
origin - the origin of the address book that handled this eventpublic int getAddressBookOrigin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||