|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectjBittorrentAPI.Message
public abstract class Message
Represent the general structure of a protocol message. It must have a type.
| Field Summary | |
|---|---|
private int |
priority
|
protected int |
type
|
| Constructor Summary | |
|---|---|
Message()
|
|
Message(int type)
|
|
Message(int type,
int priority)
|
|
| Method Summary | |
|---|---|
abstract byte[] |
generate()
|
int |
getPriority()
|
int |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int priority
protected int type
| Constructor Detail |
|---|
public Message()
public Message(int type)
public Message(int type,
int priority)
| Method Detail |
|---|
public abstract byte[] generate()
public int getPriority()
public int getType()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||