Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet
Class MessageFactory  view MessageFactory download MessageFactory.java

java.lang.Object
  extended byFreenet.MessageFactory

public class MessageFactory
extends java.lang.Object

MessageFactory.java This object takes a RawMessage and converts it to the appropriate subclass of the Message class depending on the message.


Constructor Summary
MessageFactory()
           
 
Method Summary
static Message toMessage(RawMessage r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFactory

public MessageFactory()
Method Detail

toMessage

public static Message toMessage(RawMessage r)
                         throws InvalidMessageException