Prism.framework
Interface IPeerConnector

All Known Implementing Classes:
PeerConnector, Architecture

public interface IPeerConnector

This interface allows components and connectors to be tied to the sides of a connector. The interface has to be implemented by a brick in order to be considered as a connector.

Version:
0.1
Author:
Marija Rakic

Method Summary
 void addToSide(Brick t)
          Connect the brick to the side of this connector
 void removeFromSide(Brick b)
          Remove the brick from the side of this connector
 

Method Detail

addToSide

public void addToSide(Brick t)
Connect the brick to the side of this connector
Parameters:
t - Brick to be added to the side

removeFromSide

public void removeFromSide(Brick b)
Remove the brick from the side of this connector
Parameters:
b - Brick to be added to the side