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

## com.bea.httppubsub
Interface BayeuxMessage

All Known Subinterfaces:
  EventMessage

public interface BayeuxMessage
extends java.io.Serializable

The BayeuxMessage is the representation of the Bayeux messages which is received by the pub/sub server from a client.

Inner Class Summary
`static class` | `BayeuxMessage.TYPE` The message type indicates the type of message.

Method Summary
`java.lang.String` | `getChannel()` Get the channel name for this message.
`Client` | `getClient()` Get the identity which sent this message
`BayeuxMessage.TYPE` | `getType()` Get the type of the message
`java.lang.String` | `toJSONRequestString()` Get JSON request string.
`java.lang.String` | `toJSONResponseString()` Get JSON response string.

Method Detail

### getClient

    public Client getClient()

  Get the identity which sent this message

  Returns:
    the Client which sent this message

### getType

    public BayeuxMessage.TYPE getType()

  Get the type of the message

  Returns:
    the message type

### getChannel

    public java.lang.String getChannel()

  Get the channel name for this message. The name could be a wild card pattern like /foo/* or /foo/bar/**

  Returns:
    the channel name

### toJSONRequestString

    public java.lang.String toJSONRequestString()

  Get JSON request string.

  Returns:
    JSON request string.

### toJSONResponseString

    public java.lang.String toJSONResponseString()

  Get JSON response string.

  Returns:
    JSON response string.

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

Copyright © 2007 BEA Systems All Rights Reserved.