public class BindRequest extends Object
| Constructor and Description |
|---|
BindRequest(String plugin)
Creates a new instance
|
BindRequest(String plugin,
Element payload)
Creates a new instance
|
BindRequest(String plugin,
Element payload,
boolean broadcast)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Element |
getPayload()
Returns the input specific to the plugin.
|
String |
getPlugin()
Returns the name of the target plugin.
|
int |
hashCode() |
boolean |
isBroadcast()
Indicates whether the input is to be broadcast to other service endpoints.
|
void |
setBroadcast(boolean broadcast)
Indicates whether the input is to be broadcasted to other running instances.
|
void |
setPayload(Element payload)
Sets the input specific to the plugin.
|
void |
setPlugin(String name)
Sets the name of the target plugin.
|
String |
toString() |
public BindRequest(String plugin)
public String getPlugin()
public void setPlugin(String name) throws IllegalArgumentException
name - the nameIllegalArgumentException - if the name is nullpublic boolean isBroadcast()
true if it is, falseotherwisepublic void setBroadcast(boolean broadcast)
broadcast - true if it is, falseotherwisepublic Element getPayload()
public void setPayload(Element payload)
payload - the input.IllegalArgumentException - if the payload is nullCopyright © 2015. All Rights Reserved.