org.escot
Class FunctionViewWire

java.lang.Object
  |
  +--org.escot.Wire
        |
        +--org.escot.FunctionViewWire

public class FunctionViewWire
extends Wire

A wire used to connect a function model with a component that can receive functions. !! Does this really need to be its own wire type?


Fields inherited from class org.escot.Wire
mPublisher, mPublisherFeature, mSubscriber, mSubscriberFeature
 
Constructor Summary
FunctionViewWire()
           
FunctionViewWire(Object publisher, EscotFeature publisherFeature, Object subscriber, EscotFeature subscriberFeature)
           
 
Method Summary
protected static boolean canWire(Object publisher, EscotFeature publisherFeature, Object subscriber, EscotFeature subscribedFeature)
           
 void handleConnect()
          Subclasses should override this method to implement wire-specific connection logic.
 void handleDisconnect()
          Subclasses should override this method to implement wire-specific disconnection logic.
 
Methods inherited from class org.escot.Wire
_getPublisherFeature, _getSubscriberFeature, _setPublisherFeature, _setSubscriberFeature, connect, disconnect, getPublisher, getPublisherFeature, getPublisherFeatureID, getPublisherFeatureName, getSubscriber, getSubscriberFeature, getSubscriberFeatureID, getSubscriberFeatureName, isConnected, setPublisher, setPublisherFeatureID, setSubscriber, setSubscriberFeatureID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionViewWire

public FunctionViewWire()

FunctionViewWire

public FunctionViewWire(Object publisher,
                        EscotFeature publisherFeature,
                        Object subscriber,
                        EscotFeature subscriberFeature)
Method Detail

canWire

protected static boolean canWire(Object publisher,
                                 EscotFeature publisherFeature,
                                 Object subscriber,
                                 EscotFeature subscribedFeature)

handleConnect

public void handleConnect()
Description copied from class: Wire
Subclasses should override this method to implement wire-specific connection logic.
Overrides:
handleConnect in class Wire

handleDisconnect

public void handleDisconnect()
Description copied from class: Wire
Subclasses should override this method to implement wire-specific disconnection logic.
Overrides:
handleDisconnect in class Wire