public interface WavefrontConnectionHandler extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects to the server.
|
void |
flush()
Flushes buffer, if applicable
|
int |
getFailureCount()
Returns the number of failed writes to the server.
|
boolean |
isConnected()
Returns true if ready to send data
|
void connect() throws IllegalStateException, IOException
IllegalStateException
- if the client is already connectedIOException
- if there is an error connectingvoid flush() throws IOException
IOException
boolean isConnected()
int getFailureCount()
Copyright © 2019. All rights reserved.