public class GlobalRequest extends Object
This class represents a global request.
Constructor and Description |
---|
GlobalRequest(String name,
byte[] requestdata)
Contstruct a request.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the request data, if the request has been sent and processed, this will
return the response data (which can be null).
|
String |
getName()
Get the name of the request.
|
void |
setData(byte[] requestdata)
Set the data.
|
public GlobalRequest(String name, byte[] requestdata)
name
- the name of the requestrequestdata
- the request datapublic String getName()
public byte[] getData()
public void setData(byte[] requestdata)
requestdata
- Copyright © 2024. All rights reserved.