com.nexaweb.server.pushconnection
Interface Flushable
- All Superinterfaces:
- PushConnection
- public interface Flushable
- extends PushConnection
Interface Flushable is a PushConnection that supports flushing. The only
way to obtain an instance of this interface is to implement a
FlushPolicy. See FlushPolicy for more information on
why a connection might need flushing and how to flush it.
- See Also:
FlushPolicy
|
Method Summary |
void |
flush()
This method is used to flush the PushConnection by sending a flush
message down the PushConnection. |
flush
public void flush()
throws java.io.IOException
- This method is used to flush the PushConnection by sending a flush
message down the PushConnection. This is required where there is
network hardware (or software) between the server and the client
that has a content buffer. The message is sent over the connection
to push preceeding data that is sitting in the content buffers.
The number of bytes sent over the connection is determined by your
FlushPolicy.
- Throws:
java.io.IOException - Thrown when there is an IO problem writing
the flush bytes to the stream.
Copyright © 2005 Nexaweb Technologies, Inc. All Rights Reserved.