public class RemoteConnectionChangeEvent
extends java.lang.Object
getType()
method can be used to obtain information about the type
of event that occurred.Modifier and Type | Field and Description |
---|---|
static int |
ATTRIBUTES_CHANGED
Event indicating the connection attributes had changed.
|
static int |
CONNECTION_ABORTED
Event indicating that the connection was closed abnormally.
|
static int |
CONNECTION_ADDED
Event indicating the connection was added.
|
static int |
CONNECTION_CLOSED
Event indicating that the connection was closed.
|
static int |
CONNECTION_OPENED
Event indicating that the connection was opened.
|
static int |
CONNECTION_REMOVED
Event indicating the connection is about to be removed.
|
static int |
CONNECTION_RENAMED
Event indicating that the connection name will be changed.
|
Constructor and Description |
---|
RemoteConnectionChangeEvent(IRemoteConnection connection,
int type) |
Modifier and Type | Method and Description |
---|---|
IRemoteConnection |
getConnection()
Get the connection that has changed.
|
int |
getType()
Returns the type of event being reported.
|
public static final int CONNECTION_CLOSED
public static final int CONNECTION_OPENED
public static final int CONNECTION_ABORTED
public static final int CONNECTION_RENAMED
public static final int CONNECTION_ADDED
public static final int CONNECTION_REMOVED
public static final int ATTRIBUTES_CHANGED
public RemoteConnectionChangeEvent(IRemoteConnection connection, int type)
public IRemoteConnection getConnection()
public int getType()
CONNECTION_CLOSED
CONNECTION_OPENED
CONNECTION_ABORTED
CONNECTION_RENAMED