Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomplet.simple
Class SubscriberList

java.lang.Object
  extended by org.projectodd.stilts.stomplet.simple.SubscriberList

public class SubscriberList
extends Object


Constructor Summary
SubscriberList()
           
 
Method Summary
 void addSubscriber(Subscriber subscriber)
           
 boolean removeSubscriber(Subscriber subscriber)
           
protected  void sendToAllSubscribers(StompMessage message)
           
protected  void sendToOneSubscriber(StompMessage message)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriberList

public SubscriberList()
Method Detail

size

public int size()

addSubscriber

public void addSubscriber(Subscriber subscriber)

removeSubscriber

public boolean removeSubscriber(Subscriber subscriber)

sendToAllSubscribers

protected void sendToAllSubscribers(StompMessage message)
                             throws StompException
Throws:
StompException

sendToOneSubscriber

protected void sendToOneSubscriber(StompMessage message)
                            throws StompException
Throws:
StompException

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.