org.apache.activemq.apollo.dto
Class DurableSubscriptionDestinationDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.DestinationDTO
      extended by org.apache.activemq.apollo.dto.DurableSubscriptionDestinationDTO

public class DurableSubscriptionDestinationDTO
extends DestinationDTO

Author:
Hiram Chirino

Field Summary
 java.lang.String selector
           
 java.util.ArrayList<TopicDestinationDTO> topics
          Topics that the durable subscription is attached to
 
Fields inherited from class org.apache.activemq.apollo.dto.DestinationDTO
name, path
 
Constructor Summary
DurableSubscriptionDestinationDTO()
           
DurableSubscriptionDestinationDTO(java.lang.String subscription_id)
           
 
Method Summary
 DurableSubscriptionDestinationDTO direct()
          Marks the destination as addressing a durable subscription directly.
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean is_direct()
           
 java.lang.String subscription_id()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

selector

public java.lang.String selector

topics

public java.util.ArrayList<TopicDestinationDTO> topics
Topics that the durable subscription is attached to

Constructor Detail

DurableSubscriptionDestinationDTO

public DurableSubscriptionDestinationDTO()

DurableSubscriptionDestinationDTO

public DurableSubscriptionDestinationDTO(java.lang.String subscription_id)
Method Detail

subscription_id

public java.lang.String subscription_id()

direct

public DurableSubscriptionDestinationDTO direct()
Marks the destination as addressing a durable subscription directly. This will not create or modify an existing subscription.


is_direct

public boolean is_direct()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class DestinationDTO

hashCode

public int hashCode()
Overrides:
hashCode in class DestinationDTO

toString

public java.lang.String toString()
Overrides:
toString in class DestinationDTO


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.