public class ChangeWanStateRequest extends Object implements ConsoleRequest
ChangeWanStateOperation
Modifier and Type | Field and Description |
---|---|
static String |
SUCCESS
Result message when
ChangeWanStateOperation is invoked successfully |
Constructor and Description |
---|
ChangeWanStateRequest() |
ChangeWanStateRequest(String schemeName,
String publisherName,
boolean start) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
String |
getPublisherName() |
String |
getSchemeName() |
int |
getType() |
boolean |
isStart() |
Object |
readResponse(com.eclipsesource.json.JsonObject in) |
com.eclipsesource.json.JsonObject |
toJson() |
void |
writeResponse(ManagementCenterService mcs,
com.eclipsesource.json.JsonObject out) |
public static final String SUCCESS
ChangeWanStateOperation
is invoked successfullypublic int getType()
getType
in interface ConsoleRequest
public Object readResponse(com.eclipsesource.json.JsonObject in) throws IOException
readResponse
in interface ConsoleRequest
IOException
public void writeResponse(ManagementCenterService mcs, com.eclipsesource.json.JsonObject out) throws Exception
writeResponse
in interface ConsoleRequest
Exception
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public String getSchemeName()
public String getPublisherName()
public boolean isStart()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.