org.springframework.integration.ip.tcp
Interface SocketWriter
- All Known Implementing Classes:
- AbstractSocketWriter, NetSocketWriter, NioSocketWriter
public interface SocketWriter
A general interface for writing to sockets.
- Author:
- Gary Russell
write
void write(Object object)
throws IOException
- Write the entire buffer to the underlying socket. Appropriate wire
protocols will be implemented so the receiving side can decode and
reassemble the message, if packetized by the network.
- Parameters:
object
- The object to write.
- Throws:
IOException
setMessageFormat
void setMessageFormat(int messageFormat)
- Parameters:
messageFormat
- the messageFormat to set
Copyright © 2010. All Rights Reserved.