net.kwfgrid.gwes.uiproxy
Interface MessageCodec


public interface MessageCodec

Interface for a message codec. This allows the UIProxy to unmarshal and marshal messages.


Method Summary
 String marshal(Object message)
          Marshal a message to a specification.
 Object unmarshal(String spec)
          Unmarshal a message from it's specification.
 

Method Detail

unmarshal

Object unmarshal(String spec)
                 throws CodecException
Unmarshal a message from it's specification.

Throws:
CodecException

marshal

String marshal(Object message)
               throws CodecException
Marshal a message to a specification.

Throws:
CodecException


Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.