agg.attribute.impl
Class DistributionBroker

java.lang.Object
  extended by agg.attribute.impl.AttrObject
      extended by agg.attribute.impl.DistributionBroker
All Implemented Interfaces:
AttrDistributionBroker, java.io.Serializable, java.util.Observer

public class DistributionBroker
extends AttrObject
implements AttrDistributionBroker, java.io.Serializable

Mediator class for distribution purposes. Provides services for creating and maintaining of interface/local-relations between attribute tuples and contexts.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class agg.attribute.impl.AttrObject
classHandlerExpr, classObject, classString, initialized
 
Constructor Summary
DistributionBroker()
           
 
Method Summary
 void connect(AttrContext interfaceContext, AttrContext localContext)
          Makes a context into an interface of another context.
 void connect(AttrInstance interfaceInstance, AttrInstance localInstance)
          Makes an instance tuple into an interface of another interface tuple.
 void connect(AttrType interfaceType, AttrType localType)
          Makes a type tuple into an interface of another type tuple.
 void disconnect(AttrContext interfaceContext, AttrContext localContext)
          Ends a context's role as an interface of another context.
 void disconnect(AttrInstance interfaceInstance, AttrInstance localInstance)
          Ends an instance tuple's role as an interface of another interface tuple.
 void disconnect(AttrType interfaceType, AttrType localType)
          Ends a type tuple's role as an interface of another type tuple.
 
Methods inherited from class agg.attribute.impl.AttrObject
defaultToString, err, err, getInstRepr, log, log, log, logEnteredMethod, logPrintln, logPrintln, stdoutPrintOnEnter, stdoutPrintOnExit, toString, update, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionBroker

public DistributionBroker()
Method Detail

connect

public void connect(AttrType interfaceType,
                    AttrType localType)
Makes a type tuple into an interface of another type tuple.

Specified by:
connect in interface AttrDistributionBroker

disconnect

public void disconnect(AttrType interfaceType,
                       AttrType localType)
Ends a type tuple's role as an interface of another type tuple.

Specified by:
disconnect in interface AttrDistributionBroker

connect

public void connect(AttrInstance interfaceInstance,
                    AttrInstance localInstance)
Makes an instance tuple into an interface of another interface tuple.

Specified by:
connect in interface AttrDistributionBroker

disconnect

public void disconnect(AttrInstance interfaceInstance,
                       AttrInstance localInstance)
Ends an instance tuple's role as an interface of another interface tuple.

Specified by:
disconnect in interface AttrDistributionBroker

connect

public void connect(AttrContext interfaceContext,
                    AttrContext localContext)
Makes a context into an interface of another context.

Specified by:
connect in interface AttrDistributionBroker

disconnect

public void disconnect(AttrContext interfaceContext,
                       AttrContext localContext)
Ends a context's role as an interface of another context.

Specified by:
disconnect in interface AttrDistributionBroker