org.mortbay.cometd
Interface Transport

All Known Implementing Classes:
AbstractTransport, IFrameTransport, MultiPartTransport, PlainTextJSONTransport

public interface Transport


Method Summary
 void complete()
           
 boolean isPolling()
           
 boolean keepAlive()
           
 void send(List replies)
           
 void send(Map reply)
           
 void setPolling(boolean polling)
           
 void setResponse(HttpServletResponse response)
           
 

Method Detail

setResponse

void setResponse(HttpServletResponse response)
                 throws IOException
Throws:
IOException

send

void send(Map reply)
          throws IOException
Throws:
IOException

send

void send(List replies)
          throws IOException
Throws:
IOException

complete

void complete()
              throws IOException
Throws:
IOException

isPolling

boolean isPolling()

setPolling

void setPolling(boolean polling)

keepAlive

boolean keepAlive()
                  throws IOException
Throws:
IOException


Copyright © 2007 Mort Bay Consulting. All Rights Reserved.