org.granite.client.messaging.codec
Interface MessagingCodec<M>

All Known Implementing Classes:
AMF0MessagingCodec, AMF3MessagingCodec, JMFAMF0MessagingCodec, JMFAMF3MessagingCodec

public interface MessagingCodec<M>

Author:
Franck WOLFF

Nested Class Summary
static class MessagingCodec.ClientType
           
 
Method Summary
 M decode(InputStream input)
           
 void encode(M message, OutputStream output)
           
 MessagingCodec.ClientType getClientType()
           
 String getContentType()
           
 

Method Detail

getClientType

MessagingCodec.ClientType getClientType()

getContentType

String getContentType()

encode

void encode(M message,
            OutputStream output)
            throws IOException
Throws:
IOException

decode

M decode(InputStream input)
         throws IOException
Throws:
IOException