This interface defines methods to allow an java. or java. to allow the
developer to check with the runtime whether or not it's possible to write a certain amount of data, or if it's not
possible, to be notified when it is.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | canWrite(final int
specifies the number of bytes (or characters) that require writing length)
Deprecated
the
length parameter will be ignored. Pls. use canWrite().
Returns: |
| public void | notifyCanWrite(final WriteHandler
the handler)WriteHandler that should be notified when it's possible to write more data.Instructs the |
| public void | notifyCanWrite(final WriteHandler
the handler, final int WriteHandler that should be notified when it's possible to write length
bytes.the number of bytes or characters that require writing. length)
Deprecated
the
length parameter will be ignored.
Instructs the |
| canWrite | back to summary |
|---|---|
public boolean canWrite()
| |
| canWrite | back to summary |
|---|---|
| public boolean canWrite(final int length)
Deprecated the
| |
| notifyCanWrite | back to summary |
|---|---|
| public void notifyCanWrite(final WriteHandler handler) Instructs the
| |
| notifyCanWrite | back to summary |
|---|---|
| public void notifyCanWrite(final WriteHandler handler, final int length)
Deprecated the Instructs the
| |