Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.cometd
Class Client

    java.lang.Object
      org.mortbay.cometd.Client

    public class Client

extends Object

Author:
  gregw

Method Summary
`void` | `addDataFilter(DataFilter filter)`
`Channel` | `connect()`
`Channel` | `getConnection()`
`String` | `getConnectionType()`
`String` | `getId()`
`boolean` | `hasMessages()`
`void` | `removeDataFilter(DataFilter filter)`
`List` | `takeMessages()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### addDataFilter

    public void addDataFilter(DataFilter filter)

  Parameters:
    `filter` -

### getConnectionType

    public String getConnectionType()

### getId

    public String getId()

### connect

    public Channel connect()

  Returns:
    the meta Channel for the connection or null if not connected.

### getConnection

    public Channel getConnection()

  Returns:
    the meta Channel for the connection or null if not connected.

### hasMessages

    public boolean hasMessages()

### removeDataFilter

    public void removeDataFilter(DataFilter filter)

  Parameters:
    `filter` -

### takeMessages

    public List takeMessages()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.