Freenet
Class MessageFactory

java.lang.Object
Freenet.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageFactory
public MessageFactory()
toMessage
public static Message toMessage(RawMessage r)
throws InvalidMessageException