Package com.caplin.streamlink
Interface CommandSubscription
-
public interface CommandSubscription
Stored information on the subscription and lets you unpersist the command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandListener
getCommandListener()
Returns theCommandListener
that is informed of success or failure of this command.java.lang.String
getSubject()
Returns the subject the command was executed on.void
unPersist()
For commands that have been set as persistent this method will turn off that persistence.
-
-
-
Method Detail
-
getSubject
java.lang.String getSubject()
Returns the subject the command was executed on.
- Returns:
- The subject of the command.
-
getCommandListener
CommandListener getCommandListener()
Returns the
CommandListener
that is informed of success or failure of this command.- Returns:
- The command listener.
-
unPersist
void unPersist()
For commands that have been set as persistent this method will turn off that persistence. Once persistence is turned off the command will not be resent to the server when a reconnection occurs.
-
-