org.mortbay.cometd
Interface Transport
- All Known Implementing Classes:
- AbstractTransport, JSONPTransport, JSONTransport
public interface Transport
setResponse
void setResponse(HttpServletResponse response)
throws IOException
- Throws:
IOException
send
void send(JSON.Literal reply)
throws IOException
- Throws:
IOException
send
void send(Map<String,Object> reply)
throws IOException
- Throws:
IOException
send
void send(List<Map<String,Object>> 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
setJSONCommented
void setJSONCommented(boolean commented)
isJSONCommented
boolean isJSONCommented()
alwaysResumePoll
boolean alwaysResumePoll()
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.