org.cometd.server
Class ServerMessagePool
java.lang.Object
org.cometd.server.ServerMessagePool
public class ServerMessagePool
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerMessagePool
public ServerMessagePool()
ServerMessagePool
public ServerMessagePool(int capacity)
getJSON
public org.eclipse.jetty.util.ajax.JSON getJSON()
- Returns:
- the
JSON
instance used to convert data and ext fields
setJSON
public void setJSON(org.eclipse.jetty.util.ajax.JSON json)
- Parameters:
json
- the JSON
instance used to convert data and ext fields
getMsgJSON
public org.eclipse.jetty.util.ajax.JSON getMsgJSON()
- Returns:
- the
JSON
instance used to serialize and deserialize
bayeux bayeux messages
setMsgJSON
public void setMsgJSON(org.eclipse.jetty.util.ajax.JSON msgJSON)
- Parameters:
msgJSON
- the JSON
instance used to serialize and deserialize
bayeux messages
getBatchJSON
public org.eclipse.jetty.util.ajax.JSON getBatchJSON()
- Returns:
- the
JSON
instance used to deserialize batches of bayeux
messages
setBatchJSON
public void setBatchJSON(org.eclipse.jetty.util.ajax.JSON batchJSON)
- Parameters:
batchJSON
- the JSON
instance used to convert batches of bayeux
messages
getServerMessage
public ServerMessage.Mutable getServerMessage()
parseMessages
public ServerMessage.Mutable[] parseMessages(java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
parseMessages
public ServerMessage.Mutable[] parseMessages(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
parseMessage
public ServerMessage.Mutable parseMessage(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Dojo Foundation. All Rights Reserved.