|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.escot.Wire
Wire objects describe a connection from a feature of a publisher to a feature of a subscriber.
| Field Summary | |
protected Object |
mPublisher
|
protected EscotFeature |
mPublisherFeature
|
protected Object |
mSubscriber
|
protected EscotFeature |
mSubscriberFeature
|
| Constructor Summary | |
Wire()
|
|
Wire(Object publisher,
EscotFeature publisherFeature,
Object subscriber,
EscotFeature subscriberFeature)
|
|
| Method Summary | |
EscotFeature |
_getPublisherFeature()
Returns the publisher feature. |
EscotFeature |
_getSubscriberFeature()
Returns the subscriber feature. |
void |
_setPublisherFeature(EscotFeature f)
Establishes the PublisherFeature property. |
void |
_setSubscriberFeature(EscotFeature f)
Establishes the SubscriberFeature property. |
void |
connect()
Connects the publisher feature and subscriber feature. |
void |
disconnect()
Disconnects the publisher feature and subscriber feature. |
Object |
getPublisher()
Returns the publishing bean. |
EscotFeature |
getPublisherFeature()
Deprecated. Use _getPublisherFeature() instead. |
String |
getPublisherFeatureID()
Provides the string used to identify the particular PublisherFeature the wire is, or will be connected to. |
String |
getPublisherFeatureName()
Returns the publisher feature name. |
Object |
getSubscriber()
Returns the subscribing bean. |
EscotFeature |
getSubscriberFeature()
Deprecated. Use _getPublisherFeature() instead. |
String |
getSubscriberFeatureID()
Provides the string used to identify the particular receiver the wire is, or will be connected to. |
String |
getSubscriberFeatureName()
Returns the subscriber feature name. |
abstract void |
handleConnect()
Subclasses should override this method to implement wire-specific connection logic. |
abstract void |
handleDisconnect()
Subclasses should override this method to implement wire-specific disconnection logic. |
boolean |
isConnected()
Indicates whether or not the ends of the wire have been notified. |
void |
setPublisher(Object p)
|
void |
setPublisherFeatureID(String id)
Selects the PublisherFeature by id. |
void |
setSubscriber(Object s)
|
void |
setSubscriberFeatureID(String id)
Selects the publication receiver by id. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Object mPublisher
protected Object mSubscriber
protected EscotFeature mPublisherFeature
protected EscotFeature mSubscriberFeature
| Constructor Detail |
public Wire(Object publisher,
EscotFeature publisherFeature,
Object subscriber,
EscotFeature subscriberFeature)
public Wire()
| Method Detail |
public void setPublisher(Object p)
public Object getPublisher()
public void _setPublisherFeature(EscotFeature f)
public EscotFeature _getPublisherFeature()
public void setPublisherFeatureID(String id)
public String getPublisherFeatureID()
public void setSubscriber(Object s)
public Object getSubscriber()
public void _setSubscriberFeature(EscotFeature f)
public EscotFeature _getSubscriberFeature()
public void setSubscriberFeatureID(String id)
public String getSubscriberFeatureID()
public void connect()
public void disconnect()
public boolean isConnected()
public abstract void handleConnect()
public abstract void handleDisconnect()
public String getPublisherFeatureName()
public String getSubscriberFeatureName()
public EscotFeature getPublisherFeature()
public EscotFeature getSubscriberFeature()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||