Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.0.CR1
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.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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