RichFaces Core API 4.2.2.Final

org.richfaces.application.push
Interface Session


public interface Session

Author:
Nick Belaevski

Method Summary
 void clearBroadcastedMessages(long sequenceNumber)
           
 void connect(Request request)
           
 void disconnect()
           
 Map<TopicKey,String> getFailedSubscriptions()
           
 String getId()
           
 long getLastAccessedTime()
           
 int getMaxInactiveInterval()
           
 Collection<MessageData> getMessages()
           
 Collection<TopicKey> getSuccessfulSubscriptions()
           
 void invalidate()
           
 void push(TopicKey topicKey, String serializedData)
           
 void subscribe(String[] topics)
           
 

Method Detail

getMaxInactiveInterval

int getMaxInactiveInterval()

getLastAccessedTime

long getLastAccessedTime()

getId

String getId()

getSuccessfulSubscriptions

Collection<TopicKey> getSuccessfulSubscriptions()

getFailedSubscriptions

Map<TopicKey,String> getFailedSubscriptions()

subscribe

void subscribe(String[] topics)

connect

void connect(Request request)
             throws Exception
Throws:
Exception

disconnect

void disconnect()
                throws Exception
Throws:
Exception

invalidate

void invalidate()

push

void push(TopicKey topicKey,
          String serializedData)

getMessages

Collection<MessageData> getMessages()

clearBroadcastedMessages

void clearBroadcastedMessages(long sequenceNumber)

RichFaces Core API 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.