Constructor and Description |
---|
NodeRequest(int type,
Object payload)
Constructs a NodeRequest.
|
Modifier and Type | Method and Description |
---|---|
Object |
getPayload()
Gets the additional Object payload.
|
int |
getType()
Gets the request type.
|
public NodeRequest(int type, Object payload)
type
- the enumerated request typepayload
- the optional Object payloadpublic int getType()
public Object getPayload()
Copyright © 2023. All rights reserved.