org.mortbay.cometd
Class PlainTextJSONTransport

java.lang.Object
  extended by org.mortbay.cometd.AbstractTransport
      extended by org.mortbay.cometd.PlainTextJSONTransport
All Implemented Interfaces:
Transport

public class PlainTextJSONTransport
extends AbstractTransport


Constructor Summary
PlainTextJSONTransport()
           
 
Method Summary
 void complete()
           
 boolean keepAlive()
           
 void send(List replies)
           
 void send(Map reply)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class org.mortbay.cometd.AbstractTransport
getResponse, isPolling, preample, setPolling, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainTextJSONTransport

public PlainTextJSONTransport()
Method Detail

send

public void send(Map reply)
          throws IOException
Throws:
IOException

send

public void send(List replies)
          throws IOException
Specified by:
send in interface Transport
Overrides:
send in class AbstractTransport
Throws:
IOException

complete

public void complete()
              throws IOException
Throws:
IOException

keepAlive

public boolean keepAlive()
                  throws IOException
Throws:
IOException

setVerbose

public void setVerbose(boolean verbose)


Copyright © 2007 Mort Bay Consulting. All Rights Reserved.