org.gwtwidgets.server.spring.stream
Interface SLStreamWriter

All Known Implementing Classes:
HtmlSLStreamWriterImpl

public interface SLStreamWriter

Interface for SL stream protocol implementations.

Author:
George Georgovassilis, g.georgovassilis[at]gmail.com

Method Summary
 void close()
           
 void writeMessage(java.lang.String content, java.util.Map<java.lang.String,?> attributes)
          Sends a message to the recipient
 

Method Detail

writeMessage

void writeMessage(java.lang.String content,
                  java.util.Map<java.lang.String,?> attributes)
Sends a message to the recipient

Parameters:
content - String content of the message
attributes - Metadata of the message, can be any key/value set

close

void close()


Copyright © 2011. All Rights Reserved.