de.huxhorn.lilith.sender
Interface WriteByteStrategy

All Known Implementing Classes:
MessageWriteByteStrategy

public interface WriteByteStrategy


Method Summary
 void writeBytes(java.io.DataOutputStream dataOutputStream, byte[] bytes)
          Writes the given bytes to dataOutputStream in an implementation-specific way.
 

Method Detail

writeBytes

void writeBytes(java.io.DataOutputStream dataOutputStream,
                byte[] bytes)
                throws java.io.IOException
Writes the given bytes to dataOutputStream in an implementation-specific way.

Parameters:
dataOutputStream - the stream the bytes will be written to.
bytes - the bytes that are written
Throws:
java.io.IOException - if an exception is thrown while writing the bytes.


Copyright © 2008. All Rights Reserved.