de.nava.informa.core
Interface ChannelSubscriptionIF

All Superinterfaces:
Serializable, WithChannelMIF
All Known Implementing Classes:
ChannelSubscription, ChannelSubscription

public interface ChannelSubscriptionIF
extends Serializable, WithChannelMIF

Implementing classes hold information about wether a channel should be updated or not, when the channel was last time updated (retrieved) and in which interval subsequent updated should be executed.

Author:
Niko Schmuck (niko@nava.de)

Method Summary
 int getUpdateInterval()
           
 boolean isActive()
           
 void setActive(boolean active)
          Activate/Deactivate channel update behaviour.
 void setUpdateInterval(int interval)
          Sets the interval time between channel updates.
 
Methods inherited from interface de.nava.informa.core.WithChannelMIF
getChannel, setChannel
 

Method Detail

isActive

boolean isActive()

setActive

void setActive(boolean active)
Activate/Deactivate channel update behaviour.

Parameters:
active - - wether this channel should be updated at all or not.

getUpdateInterval

int getUpdateInterval()

setUpdateInterval

void setUpdateInterval(int interval)
Sets the interval time between channel updates.

Parameters:
interval - - time in seconds between channel update retrievals.


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.