public class SingleProducerNode extends SingleLinkNode
Connection.ConnectionListener
Modifier and Type | Field and Description |
---|---|
(package private) EventID |
eventID |
(package private) PropertyChangeSupport |
pcs |
connection
Constructor and Description |
---|
SingleProducerNode(NodeID node,
Connection connection,
EventID eventID) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l) |
protected void |
firePropertyChange(String p,
Object old,
Object n) |
EventID |
getEventID() |
void |
initialize()
Initialize this node and put it in operation
|
void |
removePropertyChangeListener(PropertyChangeListener l) |
void |
send()
For testing, send the nodes Event
|
void |
setEventID(EventID eid) |
put
defaultHandler, handleConsumerIdentified, handleDatagram, handleDatagramAcknowledged, handleDatagramRejected, handleIdentifyConsumers, handleIdentifyEvents, handleIdentifyProducers, handleInitializationComplete, handleLearnEvent, handleOptionalIntRejected, handleProducerConsumerEventReport, handleProducerIdentified, handleProtocolIdentificationReply, handleProtocolIdentificationRequest, handleSimpleNodeIdentInfoReply, handleSimpleNodeIdentInfoRequest, handleStreamDataComplete, handleStreamDataProceed, handleStreamDataSend, handleStreamInitiateReply, handleStreamInitiateRequest, handleTractionControlReply, handleTractionControlRequest, handleTractionProxyReply, handleTractionProxyRequest, handleVerifiedNodeIDNumber, handleVerifyNodeIDNumber, put
registerStartNotification
EventID eventID
PropertyChangeSupport pcs
public SingleProducerNode(NodeID node, Connection connection, EventID eventID)
public EventID getEventID()
public void setEventID(EventID eid)
public void initialize()
initialize
in class SingleLinkNode
public void send()
public void addPropertyChangeListener(PropertyChangeListener l)
public void removePropertyChangeListener(PropertyChangeListener l)
Copyright © 2018 The OpenLCB Group. All rights reserved.