gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class CcaConnectTwoPortsEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.CcaConnectTwoPortsEvent
All Implemented Interfaces:
java.io.Serializable

public class CcaConnectTwoPortsEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  CcaConnectionBetweenTwoPorts ccaConnection
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CcaConnectTwoPortsEvent(java.lang.Object source)
          Create a CcaConnectTwoPorts Event.
CcaConnectTwoPortsEvent(java.lang.Object source, CcaConnectionBetweenTwoPorts ccaConnection)
          Create a CcaConnectTwoPorts Event.
 
Method Summary
 CcaConnectionBetweenTwoPorts getCcaConnection()
          Get the cca connection that is between two ports.
 void setCcaConnect(CcaConnectionBetweenTwoPorts ccaConnect)
          Set the cca connection that is between two ports.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ccaConnection

protected CcaConnectionBetweenTwoPorts ccaConnection
Constructor Detail

CcaConnectTwoPortsEvent

public CcaConnectTwoPortsEvent(java.lang.Object source)
Create a CcaConnectTwoPorts Event.

Parameters:
event - The entity that generated this event.

CcaConnectTwoPortsEvent

public CcaConnectTwoPortsEvent(java.lang.Object source,
                               CcaConnectionBetweenTwoPorts ccaConnection)
Create a CcaConnectTwoPorts Event.

Parameters:
event - The entity that generated this event.
ccaConnect - The cca connection that is between two ports.
Method Detail

getCcaConnection

public CcaConnectionBetweenTwoPorts getCcaConnection()
Get the cca connection that is between two ports.

Returns:
The cca connection

setCcaConnect

public void setCcaConnect(CcaConnectionBetweenTwoPorts ccaConnect)
Set the cca connection that is between two ports.

Parameters:
ccaConnection - The cca connection