|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.huxhorn.lilith.sender.MessageWriteByteStrategy
public class MessageWriteByteStrategy
Constructor Summary | |
---|---|
MessageWriteByteStrategy()
|
Method Summary | |
---|---|
void |
writeBytes(java.io.DataOutputStream dataOutputStream,
byte[] bytes)
Writes an int containing the length of the byte array followed by the byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageWriteByteStrategy()
Method Detail |
---|
public void writeBytes(java.io.DataOutputStream dataOutputStream, byte[] bytes) throws java.io.IOException
writeBytes
in interface WriteByteStrategy
dataOutputStream
- the stream the bytes will be written to.bytes
- the bytes that are written
java.io.IOException
- if an exception is thrown while writing the bytes.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |