cgl.narada.service.qos
Interface ConsumerConstraints

All Known Implementing Classes:
ConsumerConstraintsImpl

public interface ConsumerConstraints

Allows a consumer to specify QosConstraints on the sending or receiving of events conforming to a given profile


Method Summary
 Properties getDecryptionProperties()
           
 int getEntityId()
           
 Profile getProfile()
           
 PublicKey getRootCAPublicKey()
           
 SecretKey getSecretKey()
           
 SignedSecurityToken getSignedSecurityToken()
           
 int getTemplateId()
          Returns the templateId associated with the consumer constraint.
 boolean hasSatisfiedSpecifiedConstraints(QosIdentifiers identifiers)
           
 boolean isNoDecryptionRequested()
           
 boolean isReceiveAfterCoalescingFragments()
           
 boolean isReceiveAfterPayloadDecompression()
           
 boolean isReceiveAfterTimeSpacing()
           
 boolean isReceiveInOrder()
           
 boolean isReceiveInTimeOrder()
           
 boolean isReceiveReliably()
           
 boolean isReceiveSecurely()
           
 void setReceiveAfterCoalescingFragments()
           
 void setReceiveAfterPayloadDecompression()
           
 void setReceiveAfterTimeSpacing()
          Ensures that events are spaced in time before they are released.
 void setReceiveInOrder(int ordTemplateId)
          Enable ordered delivery of events corresponding to this template.
 void setReceiveInTimeOrder()
          Ensures that events are ordered in time before they are released.
 void setReceiveReliably(int recTemplateId)
          Enable reliable delivery of events corresponding to this template.
 void setReceiveSecurely(int secTemplateId)
          Enable secure delivery of events corresponding to this template.
 void setSecurityToken(SignedSecurityToken sst, SecretKey key, Properties props, boolean doNotDecryptPayloadBeforeDelivery, PublicKey rootCAPubKey)
          Sets the security token, secret key and decryption properties associated with the decryption for this profile
 

Method Detail

getEntityId

int getEntityId()

getTemplateId

int getTemplateId()
Returns the templateId associated with the consumer constraint. There can be only one consumer constraint associated with a given consumer. If the templateId has NOT BEEN SET by one of the setter method, this method WILL RETURN 0. Otherwise it will return the value of the templateId


getProfile

Profile getProfile()

setReceiveInOrder

void setReceiveInOrder(int ordTemplateId)
                       throws ServiceException
Enable ordered delivery of events corresponding to this template. This method will throw an exception if the templateId specified during any of the previous invocations of methods (with the templateId argument) is different from the one specified in this method

Throws:
ServiceException

setReceiveReliably

void setReceiveReliably(int recTemplateId)
                        throws ServiceException
Enable reliable delivery of events corresponding to this template. This method will throw an exception if the templateId specified during any of the previous invocations of methods (with the templateId argument) is different from the one specified in this method

Throws:
ServiceException

setReceiveSecurely

void setReceiveSecurely(int secTemplateId)
                        throws ServiceException
Enable secure delivery of events corresponding to this template. This method will throw an exception if the templateId specified during any of the previous invocations of methods (with the templateId argument) is different from the one specified in this method

Throws:
ServiceException

setReceiveAfterPayloadDecompression

void setReceiveAfterPayloadDecompression()

setReceiveAfterCoalescingFragments

void setReceiveAfterCoalescingFragments()

setReceiveInTimeOrder

void setReceiveInTimeOrder()
Ensures that events are ordered in time before they are released. The events are buffered for a duration of time prior to the release.


setReceiveAfterTimeSpacing

void setReceiveAfterTimeSpacing()
Ensures that events are spaced in time before they are released. This feature is traditionally used during the replay of audio-video multimedia streams


isReceiveInOrder

boolean isReceiveInOrder()

isReceiveReliably

boolean isReceiveReliably()

isReceiveSecurely

boolean isReceiveSecurely()

isReceiveAfterCoalescingFragments

boolean isReceiveAfterCoalescingFragments()

isReceiveAfterPayloadDecompression

boolean isReceiveAfterPayloadDecompression()

hasSatisfiedSpecifiedConstraints

boolean hasSatisfiedSpecifiedConstraints(QosIdentifiers identifiers)

isReceiveInTimeOrder

boolean isReceiveInTimeOrder()

isReceiveAfterTimeSpacing

boolean isReceiveAfterTimeSpacing()

setSecurityToken

void setSecurityToken(SignedSecurityToken sst,
                      SecretKey key,
                      Properties props,
                      boolean doNotDecryptPayloadBeforeDelivery,
                      PublicKey rootCAPubKey)
Sets the security token, secret key and decryption properties associated with the decryption for this profile

Parameters:
sst -
key -
props -
doNotDecryptPayloadBeforeDelivery -
rootCAPubKey -

getSignedSecurityToken

SignedSecurityToken getSignedSecurityToken()

getSecretKey

SecretKey getSecretKey()

getDecryptionProperties

Properties getDecryptionProperties()

isNoDecryptionRequested

boolean isNoDecryptionRequested()

getRootCAPublicKey

PublicKey getRootCAPublicKey()


For comments and suggestions please send e-mail to The NaradaBrokering Project
roject