PTP
Release 5.0

org.eclipse.ptp.remote.core
Interface IRemoteConnectionChangeEvent


public interface IRemoteConnectionChangeEvent


Field Summary
static int CONNECTION_ABORTED
          Event indicating that the connection was closed abnormally.
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_RENAMED
          Event indicating that the connection name was changed.
 
Method Summary
 IRemoteConnection getConnection()
          Get the connection that has changed.
 int getType()
          Returns the type of event being reported.
 

Field Detail

CONNECTION_CLOSED

static final int CONNECTION_CLOSED
Event indicating that the connection was closed.

See Also:
Constant Field Values

CONNECTION_OPENED

static final int CONNECTION_OPENED
Event indicating that the connection was opened.

See Also:
Constant Field Values

CONNECTION_ABORTED

static final int CONNECTION_ABORTED
Event indicating that the connection was closed abnormally.

See Also:
Constant Field Values

CONNECTION_RENAMED

static final int CONNECTION_RENAMED
Event indicating that the connection name was changed.

See Also:
Constant Field Values
Method Detail

getConnection

IRemoteConnection getConnection()
Get the connection that has changed.

Returns:
IRemoteConnection

getType

int getType()
Returns the type of event being reported. This type is obtained by bitwise OR'ing the event types together. CONNECTION_CLOSED CONNECTION_OPENED CONNECTION_ABORTED CONNECTION_RENAMED

Returns:
a bitwise OR of event type constants

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.