|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--loader.ResourcePacket | +--loader.ClassPacket
It is used to sent the class byte array to the requester.
It could also store some further information.
Constructor Summary | |
ClassPacket(byte[] bytes)
Costructor for the byte array |
|
ClassPacket(java.lang.String error)
Costructor for errors |
Method Summary | |
byte[] |
getClassBytes()
return the byte array |
Methods inherited from class loader.ResourcePacket |
getError,
getResourceBytes,
isOK |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ClassPacket(java.lang.String error)
error
- the error that was found on the serverpublic ClassPacket(byte[] bytes)
bytes
- the byte array for the requested classMethod Detail |
public byte[] getClassBytes()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |