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

Quick Search    Search Deep

Freenet.node
Class StandardMessageHandler  view StandardMessageHandler download StandardMessageHandler.java

java.lang.Object
  extended byFreenet.node.StandardMessageHandler
All Implemented Interfaces:
Freenet.MessageHandler

public class StandardMessageHandler
extends java.lang.Object
implements Freenet.MessageHandler

This class handles incoming messages.

Version:
$Revision: 1.3 $

Field Summary
private  LimitedHashtable messageMemories
           
 Node node
           
private  LimitedHashtable tickets
           
 
Constructor Summary
StandardMessageHandler(Node n, int m)
           
 
Method Summary
(package private)  java.lang.Object getTicket(java.lang.Long longid)
           
 void handle(Freenet.Message message)
          Handle a message
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public Node node

messageMemories

private LimitedHashtable messageMemories

tickets

private LimitedHashtable tickets
Constructor Detail

StandardMessageHandler

public StandardMessageHandler(Node n,
                              int m)
Method Detail

main

public static void main(java.lang.String[] args)

handle

public void handle(Freenet.Message message)
Handle a message

Specified by:
handle in interface Freenet.MessageHandler

getTicket

java.lang.Object getTicket(java.lang.Long longid)