| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjxl.jxta.MessageCodec
public class MessageCodec
Helper class to store and retrieve java objects in a jxta message.
| Constructor Summary | |
|---|---|
| MessageCodec()This constructor should be used to create a new message outbound to the jxta network. | |
| MessageCodec(net.jxta.endpoint.Message m)This constructor shoule be used to decode an incoming message from the jxta network. | |
| Method Summary | |
|---|---|
|  java.lang.Object | decode(java.lang.String name)Retrieve and decode the object bound to name. | 
|  void | encode(java.lang.String name,
       java.lang.Object s)Encode sand bind toname. | 
|  net.jxta.endpoint.Message | getMessage()Retrieves the massage object that this MessageCodec represents. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MessageCodec(net.jxta.endpoint.Message m)
public MessageCodec()
| Method Detail | 
|---|
public net.jxta.endpoint.Message getMessage()
public void encode(java.lang.String name,
                   java.lang.Object s)
s and bind to name.
public java.lang.Object decode(java.lang.String name)
name.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||