|
|||||||||
| 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
tuwien.auto.calimero.knxnetip.ConnectionCloseEvent
public class ConnectionCloseEvent
An event providing information regarding the closing of an established KNXnet/IP communication connection.
| Field Summary | |
|---|---|
static int |
CLIENT
Identifier stating the close event was initiated by the client. |
static int |
INTERNAL
Identifier stating the close event was initiated internal (for example due to an unsupported protocol version). |
static int |
SERVER
Identifier stating the close event was initiated by the remote endpoint/server. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ConnectionCloseEvent(java.lang.Object source,
int initiator,
java.lang.String reason)
Creates a new close event. |
|
| Method Summary | |
|---|---|
int |
getInitiator()
Returns the initiator of the close event, one of CLIENT, SERVER
or INTERNAL. |
| Methods inherited from class tuwien.auto.calimero.CloseEvent |
|---|
getReason, isUserRequest |
| 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 CLIENT
public static final int INTERNAL
public static final int SERVER
| Constructor Detail |
|---|
public ConnectionCloseEvent(java.lang.Object source,
int initiator,
java.lang.String reason)
source - the object on which the Event initially occurredinitiator - initiator of the close event, one of CLIENT,
SERVER or INTERNALreason - brief textual description| Method Detail |
|---|
public final int getInitiator()
CLIENT, SERVER
or INTERNAL.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||