public class SomRequest
extends java.lang.Object
Constructor and Description |
---|
SomRequest(java.lang.String requestdata)
Create a new SomRequest object.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getData()
Get the buffer containing the data
|
boolean |
hasRemaining()
Check whether there is more to send
|
int |
remaining()
Get number of bytes remaining to be sent
|
void |
sent(int bytessent)
Indicate how many bytes have been sent.
|
public SomRequest(java.lang.String requestdata)
requestdata
- String forming requestpublic int remaining()
public boolean hasRemaining()
public java.nio.ByteBuffer getData()
public void sent(int bytessent)
bytessent
- number of bytes sentVersion: 18.0v6-0
Copyright (c) 2017-2020 Isode