comm
Interface CommPortOwnershipListener

All Superinterfaces:
java.util.EventListener

public interface CommPortOwnershipListener
extends java.util.EventListener

This interface is used to receive notifications of communications port ownership events.

Version:
2.0.3
Author:
Chris Burdess

Field Summary
static int PORT_OWNED
          The port changed to the owned state.
static int PORT_OWNERSHIP_REQUESTED
          The port is already owned, and another application is requesting ownership.
static int PORT_UNOWNED
          The port changed to the unowned state.
 
Method Summary
 void ownershipChange(int type)
          Notifies this listener of an ownership change event.
 

Field Detail

PORT_OWNED

static final int PORT_OWNED
The port changed to the owned state.

See Also:
Constant Field Values

PORT_UNOWNED

static final int PORT_UNOWNED
The port changed to the unowned state.

See Also:
Constant Field Values

PORT_OWNERSHIP_REQUESTED

static final int PORT_OWNERSHIP_REQUESTED
The port is already owned, and another application is requesting ownership.

See Also:
Constant Field Values
Method Detail

ownershipChange

void ownershipChange(int type)
Notifies this listener of an ownership change event.

Parameters:
type - one of PORT_OWNED, PORT_UNOWNED, or PORT_OWNERSHIP_REQUESTED