Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.1.0.20111014-M3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.1.0.20111014-M3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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