Package org.netxms.client
Class TextOutputAdapter
java.lang.Object
org.netxms.client.TextOutputAdapter
- All Implemented Interfaces:
- TextOutputListener
Adapter class for interface 
TextOutputListener that implements all interface methods as no-op.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidmessageReceived(String text) Called when new message is received.voidCalled on execution failurevoidCalled when all text output provided successfullyvoidsetStreamId(long streamId) Called when output stream ID is known
- 
Constructor Details- 
TextOutputAdapterpublic TextOutputAdapter()
 
- 
- 
Method Details- 
messageReceivedDescription copied from interface:TextOutputListenerCalled when new message is received.- Specified by:
- messageReceivedin interface- TextOutputListener
- Parameters:
- text- received message
- See Also:
 
- 
setStreamIdpublic void setStreamId(long streamId) Description copied from interface:TextOutputListenerCalled when output stream ID is known- Specified by:
- setStreamIdin interface- TextOutputListener
- Parameters:
- streamId- ID of output stream (actual meaning depends on API call)
- See Also:
 
- 
onSuccesspublic void onSuccess()Description copied from interface:TextOutputListenerCalled when all text output provided successfully- Specified by:
- onSuccessin interface- TextOutputListener
- See Also:
 
- 
onFailureDescription copied from interface:TextOutputListenerCalled on execution failure- Specified by:
- onFailurein interface- TextOutputListener
- Parameters:
- exception- cause of operation failure
- See Also:
 
 
-