Package com.swiftmq.impl.streams.comp.io
Class Output
java.lang.Object
com.swiftmq.impl.streams.comp.io.Output
- Direct Known Subclasses:
QueueOutput,TopicOutput
Represents an Output to a Queue or Topic.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this Output.voidcollect(long interval) Internal use.protected abstract QueueSenderprotected abstract Destinationprotected abstract StringgetType()booleanisDirty()Internal use.name()Returns the name of the OutputSends a Message.protected abstract voidsetDestination(Destination destination) voidsetDirty(boolean dirty) Internal use.
-
Method Details
-
name
Returns the name of the Output- Returns:
- name
-
isDirty
public boolean isDirty()Internal use. -
setDirty
public void setDirty(boolean dirty) Internal use. -
setDestination
protected abstract void setDestination(Destination destination) -
getType
-
createSender
- Throws:
Exception
-
getDestination
- Throws:
Exception
-
send
Sends a Message.- Parameters:
message- Message- Returns:
- Output
- Throws:
Exception
-
collect
public void collect(long interval) Internal use. -
close
public void close()Closes this Output.
-