diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-29 19:57:35 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-29 19:57:35 +0000 |
| commit | 42dc4e028067a15939cd2e46be4b7a8203e0dab7 (patch) | |
| tree | b366989eaa86c626eeaeeef284ffc44ce570a49f /sources/events/internal/VSProtocolScheduleEvent.java | |
| parent | 1467a9832da9294a4419d5ab7db573ba3ab649c6 (diff) | |
added some mor javadoc.
Diffstat (limited to 'sources/events/internal/VSProtocolScheduleEvent.java')
| -rw-r--r-- | sources/events/internal/VSProtocolScheduleEvent.java | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/sources/events/internal/VSProtocolScheduleEvent.java b/sources/events/internal/VSProtocolScheduleEvent.java index 9c72124..abe1380 100644 --- a/sources/events/internal/VSProtocolScheduleEvent.java +++ b/sources/events/internal/VSProtocolScheduleEvent.java @@ -8,9 +8,14 @@ import events.*; import protocols.VSAbstractProtocol; /** - * The Class VSProtocolScheduleEvent. + * The Class VSProtocolScheduleEvent. This event is used if a protocol (which + * is a subclass of VSAbstractProtocol) reschedules itself to run again on a + * specific time. + * + * @author Paul C. Buetow */ public class VSProtocolScheduleEvent extends VSAbstractEvent { + /** The serial version uid */ private static final long serialVersionUID = 1L; /** The event is a server protocol schedule. */ @@ -23,9 +28,11 @@ public class VSProtocolScheduleEvent extends VSAbstractEvent { * Create a VSProtocolScheduleEvent object * * @param protocol the protocol - * @param isServerSchedule the event is a client protocol schedule if false, else server schedule + * @param isServerSchedule the event is a client protocol schedule if + * false, else server schedule */ - public VSProtocolScheduleEvent(VSAbstractProtocol protocol, boolean isServerSchedule) { + public VSProtocolScheduleEvent(VSAbstractProtocol protocol, + boolean isServerSchedule) { this.protocol = protocol; this.isServerSchedule = isServerSchedule; } @@ -38,25 +45,27 @@ public class VSProtocolScheduleEvent extends VSAbstractEvent { } /** - * Checks if is client protocol schedule. + * Sets if it is client protocol schedule. * - * @param isServerSchedule the event is a client protocol schedule if false, else server schedule + * @param isServerSchedule false, if the event is a client protocol + * schedule. true, if server. */ public void isServerSchedule(boolean isServerSchedule) { this.isServerSchedule = isServerSchedule; } /** - * Checks if is client protocol. + * Sets if it is client protocol schedule. * - * @return false, if is client protocol schedule, else server protocol schedule + * @return false, if the event is a client protocol schedule. true, if + * server. */ public boolean isServerSchedule() { return isServerSchedule; } /** - * Sets the protocol + * Sets the protocol. * * @param protocol the protocol */ @@ -65,7 +74,7 @@ public class VSProtocolScheduleEvent extends VSAbstractEvent { } /** - * Gets the protocol + * Gets the protocol. * * @return the protocol */ |
