| Modifier and Type | Method and Description |
|---|---|
ConnectionEvent.Type |
ConnectionEvent.getType()
Method that helps identifying the type.
|
static ConnectionEvent.Type |
ConnectionEvent.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEvent.Type[] |
ConnectionEvent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ConnectionEvent(Connection source,
ConnectionEvent.Type type)
Constructs a new instance of a ConnectionEvent
with a given source (Connection) and a given type.
|
Copyright © 2020. All rights reserved.