Package com.swiftmq.impl.streams.comp.io
Interface Input
- All Known Subinterfaces:
 DestinationInput
- All Known Implementing Classes:
 ManagementInput,QueueInput,QueueWireTapInput,TopicInput
public interface Input
Base interface for Inputs.
- Author:
 - IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
 
- 
Method Summary
 
- 
Method Details
- 
getName
String getName()Returns the name of this Input.- Returns:
 - Name
 
 - 
current
Sets the current Message on this Input.- Parameters:
 current- Message- Returns:
 - Input
 
 - 
current
Message current()Returns the current Message of this Input.- Returns:
 - Message
 
 - 
executeCallback
Internal use.- Throws:
 Exception
 - 
collect
void collect(long interval) Internal use. - 
start
Starts this Input. This method is called automatically if an Input is created outside a callback. If it is created inside, it must be called explicitly.- Throws:
 Exception
 - 
close
void close()Closes this Input. 
 -