org.jtoolkit.essence.data
Class Event.StatusEvent
java.lang.Object
org.jtoolkit.essence.app.pojo.DataValue
org.jtoolkit.essence.data.Event.StatusEvent
- All Implemented Interfaces:
- Datable, Event, Named, Named.Source
- Enclosing interface:
- Event
public static class Event.StatusEvent
- extends DataValue
- implements Datable, Event
Notify that a Listeneable is online/offline. This event is triggers when a Listener is added for the first time.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
online
public final boolean online
Event.StatusEvent
public Event.StatusEvent(boolean online)
Event.StatusEvent
public Event.StatusEvent(@NotNull
java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
notifyListener
public void notifyListener(@NotNull
Event.Listener l)
- Description copied from interface:
Event
- Notify this listener of an event.
- Specified by:
notifyListener in interface Event
writeData
public void writeData(@NotNull
java.io.DataOutput out)
throws java.io.IOException
- Description copied from interface:
Datable
- Write this object to DataOutput
must define a constructor.
public Datable(@NotNull DataInput in) throws IOException;
- Specified by:
writeData in interface Datable
- Throws:
java.io.IOException
Copyright © Peter Lawrey. All Rights Reserved.