|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenr66.protocol.localhandler.packet.AbstractLocalPacket
openr66.protocol.localhandler.packet.BusinessRequestPacket
public class BusinessRequestPacket

Business Request Message class for packet
1 string and on integer and one byte:
- sheader = full text with class at first place
- smiddle = integer
- send = byte
| Field Summary |
|---|
| Fields inherited from class openr66.protocol.localhandler.packet.AbstractLocalPacket |
|---|
end, header, middle |
| Constructor Summary | |
|---|---|
BusinessRequestPacket(String header,
int delay)
|
|
BusinessRequestPacket(String header,
int delay,
byte way)
|
|
| Method Summary | |
|---|---|
void |
createEnd()
Prepare the End buffer |
static BusinessRequestPacket |
createFromBuffer(int headerLength,
int middleLength,
int endLength,
org.jboss.netty.buffer.ChannelBuffer buf)
|
void |
createHeader()
Prepare the Header buffer |
void |
createMiddle()
Prepare the Middle buffer |
int |
getDelay()
|
String |
getSheader()
|
byte |
getType()
|
void |
invalidate()
Invalidate the request |
boolean |
isToValidate()
|
void |
setDelay(int delay)
|
String |
toString()
|
void |
validate()
Validate the request |
| Methods inherited from class openr66.protocol.localhandler.packet.AbstractLocalPacket |
|---|
getLocalPacket |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BusinessRequestPacket(String header,
int delay,
byte way)
public BusinessRequestPacket(String header,
int delay)
| Method Detail |
|---|
public static BusinessRequestPacket createFromBuffer(int headerLength,
int middleLength,
int endLength,
org.jboss.netty.buffer.ChannelBuffer buf)
throws OpenR66ProtocolPacketException
OpenR66ProtocolPacketException
public void createEnd()
throws OpenR66ProtocolPacketException
AbstractLocalPacket
createEnd in class AbstractLocalPacketOpenR66ProtocolPacketException
public void createHeader()
throws OpenR66ProtocolPacketException
AbstractLocalPacket
createHeader in class AbstractLocalPacketOpenR66ProtocolPacketException
public void createMiddle()
throws OpenR66ProtocolPacketException
AbstractLocalPacket
createMiddle in class AbstractLocalPacketOpenR66ProtocolPacketExceptionpublic byte getType()
getType in class AbstractLocalPacketpublic String toString()
toString in class AbstractLocalPacketpublic boolean isToValidate()
public void validate()
public void invalidate()
public String getSheader()
public int getDelay()
public void setDelay(int delay)
delay - the delay to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||