[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Connectable

mixes in with Object

Connectable



Operations

Get list of all operations

Abort
CanConnect
ClearAbort
Connect
Disconnect


Attributes

Get list of all attributes

Aborted
Connected


Fields

No fields are defined by Connectable or any of its superclasses.


Instance template

Class Connectable cannot be instantiated.


Class definition

Define Class Connectable;
    mixes in with Object;

    operation CanConnect(announceWhyNot: Boolean): Boolean, noMethod, noFail;
        // preflight sanity check to see if ready to accept a Connect call.  
        // Passing in 'true' requests an appropriate announcement be shown 
        // to the user if the object is not connectable at this time.

    operation Connect(destination: Object; wantsStatus: Object), noMethod, noFail;
        // connect to the given destination; if 'wantsStatus' is not nil,
        // it represents an object that wants to receive updates on the
        // status of the connection.  Usually this is a StatusAnnouncement object.
    attribute Connected: Boolean, readOnly, noGetter;
        // checks if a connection is already in progress
        
    operation Disconnect(), noMethod, noFail;
        // disconnect from the destination

    operation Abort(), noMethod, noFail;
        // abort the connection
    attribute Aborted: Boolean, readOnly, noGetter;
        // checks if the connection has been aborted
    operation ClearAbort(), noMethod, noFail;
        // clears the abort condition after everything is back to normal
end class;