public abstract class AbstractRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected short |
_type |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRequest(short type)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
id()
returns the id
|
abstract boolean |
matches(ProgramThread thread, IStackFrame frame)
returns true if it matches
|
short |
type()
returns the type
|
abstract void |
write(PacketOutputStream stream, ProgramThread thread, IStackFrame frame)
create corresponding event packet data
|
public short type()
public int id()
public abstract boolean matches(ProgramThread thread, IStackFrame frame)
public abstract void write(PacketOutputStream stream, ProgramThread thread, IStackFrame frame) throws java.io.IOException
java.io.IOException