|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.distribution.simple.UDPUpdateNotifier
| Field Summary | |
static java.lang.String |
ADDRESS
|
static java.lang.String |
DEFAULT_ADDRESS
|
static int |
DEFAULT_PACKAGE_SIZE
|
static int |
DEFAULT_PORT
|
static int |
DEFAULT_TTL
|
static java.lang.String |
PACKAGE_SIZE
|
static java.lang.String |
PORT
|
static java.lang.String |
TTL
|
| Constructor Summary | |
UDPUpdateNotifier()
|
|
| Method Summary | |
void |
broadcastAdd(NakedCollection collection,
NakedObject element)
Indicates that an element has been added to a collection |
void |
broadcastObject(NakedObject object)
Indicates that a specific object has been changed |
void |
broadcastRemove(NakedCollection collection,
NakedObject element)
Indicates that an element has been removed from a collection |
int |
getPort()
|
void |
init()
Called when the UpdateNotifier is installed. |
void |
shutdown()
Called when the UpdateNotifier is about to be shutdown. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ADDRESS
public static final java.lang.String PORT
public static final java.lang.String PACKAGE_SIZE
public static final java.lang.String TTL
public static final java.lang.String DEFAULT_ADDRESS
public static final int DEFAULT_PORT
public static final int DEFAULT_TTL
public static final int DEFAULT_PACKAGE_SIZE
| Constructor Detail |
public UDPUpdateNotifier()
| Method Detail |
public void broadcastAdd(NakedCollection collection,
NakedObject element)
UpdateNotifier
broadcastAdd in interface UpdateNotifiercollection - the collection being added toelement - the object being addedpublic void broadcastObject(NakedObject object)
UpdateNotifier
broadcastObject in interface UpdateNotifierobject -
public void broadcastRemove(NakedCollection collection,
NakedObject element)
UpdateNotifier
broadcastRemove in interface UpdateNotifiercollection - the collection being removed fromelement - the object being removedpublic int getPort()
public void init()
UpdateNotifier
init in interface UpdateNotifierpublic void shutdown()
UpdateNotifier
shutdown in interface UpdateNotifierpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||