public class ConnectionEvent extends Event
| Modifier and Type | Field and Description |
|---|---|
static EventType<ConnectionEvent> |
ADD |
static EventType<ConnectionEvent> |
ANY |
static EventType<ConnectionEvent> |
REMOVE |
consumed, eventType, NULL_SOURCE_TARGET, targetsource| Constructor and Description |
|---|
ConnectionEvent(EventType<? extends Event> et,
Connector sConnector,
Connector rConnector,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Connector |
getReceiverConnector() |
Connector |
getSenderConnector() |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedgetSource, toStringpublic static final EventType<ConnectionEvent> ANY
public static final EventType<ConnectionEvent> ADD
public static final EventType<ConnectionEvent> REMOVE
public ConnectionEvent(EventType<? extends Event> et, Connector sConnector, Connector rConnector, Connection connection)
public Connector getSenderConnector()
public Connector getReceiverConnector()
public Connection getConnection()