Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.tutorial.lesson3
Class MyMsg

    java.lang.Object
      rice.tutorial.lesson3.MyMsg

All Implemented Interfaces:
  Message, java.io.Serializable

public class MyMsg
extends java.lang.Object
implements Message

An example message.

Version:
  $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
  Jeff Hoye
See Also:
  Serialized Form

Field Summary

Fields inherited from interface rice.p2p.commonapi.Message
`HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY`

Constructor Summary
`MyMsg(Id from, Id to)` Constructor.

Method Summary
`int` | `getPriority()` Use low priority to prevent interference with overlay maintenance traffic.
`java.lang.String` | `toString()` DESCRIBE THE METHOD

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### MyMsg

    public MyMsg(Id from,
                 Id to)

  Constructor.

Parameters:
  `from` - DESCRIBE THE PARAMETER
  `to` - DESCRIBE THE PARAMETER

Method Detail

### getPriority

    public int getPriority()

  Use low priority to prevent interference with overlay maintenance traffic.

  Specified by:
    `getPriority` in interface `Message`
  Returns:
    The Priority value

### toString

    public java.lang.String toString()

  DESCRIBE THE METHOD

  Returns:
    DESCRIBE THE RETURN VALUE

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.