Package jmri.jmrix.bidib.tcpserver
Interface ServerBidibMessageProcessor
- All Superinterfaces:
org.bidib.jbidibc.core.BidibMessageProcessor,org.bidib.jbidibc.messages.MessageProcessor
- All Known Implementing Classes:
ServerMessageReceiver
-
Field Summary
Fields inherited from interface org.bidib.jbidibc.core.BidibMessageProcessor
IGNORE_WRONG_MESSAGE_NUMBER -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()voidenable()voidpublishResponse(ByteArrayOutputStream output) Publish the response in the provided byte array output stream.Methods inherited from interface org.bidib.jbidibc.core.BidibMessageProcessor
addMessageListener, addNodeListener, getErrorInformation, removeMessageListener, removeNodeListenerMethods inherited from interface org.bidib.jbidibc.messages.MessageProcessor
processMessages
-
Method Details
-
publishResponse
void publishResponse(ByteArrayOutputStream output) throws org.bidib.jbidibc.messages.exception.ProtocolException Publish the response in the provided byte array output stream.- Parameters:
output- the output stream that contains the responses- Throws:
org.bidib.jbidibc.messages.exception.ProtocolException- when can't provide sequence
-
enable
void enable() -
disable
void disable()
-