|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
tuwien.auto.calimero.CloseEvent
public class CloseEvent
Informs about the closing of a previously established communication with the KNX network.
In general, the source of the event is the connection object or network link to be closed.
LinkListener
,
KNXListener
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CloseEvent(java.lang.Object source,
boolean userRequest,
java.lang.String reason)
Creates a new close event object. |
Method Summary | |
---|---|
java.lang.String |
getReason()
Returns a brief textual description of the closing reason. |
boolean |
isUserRequest()
Returns whether the close event was initiated by the user of the communication object. |
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 |
Constructor Detail |
---|
public CloseEvent(java.lang.Object source, boolean userRequest, java.lang.String reason)
source
- the communication object to be closeduserRequest
- true
if the closing was requested by the user of
the object, false
otherwise (for example, a close initiated by
a remote server)reason
- brief description of the reason leading to the close eventMethod Detail |
---|
public final java.lang.String getReason()
public final boolean isUserRequest()
true
if close is user requested, false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |