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,
WanPublisherState state) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(JsonObject json) |
int |
getType() |
void |
writeResponse(ManagementCenterService mcs,
JsonObject out) |
public static final String SUCCESS
ChangeWanStateOperation
is invoked successfullypublic ChangeWanStateRequest()
public ChangeWanStateRequest(String schemeName, String publisherName, WanPublisherState state)
public int getType()
getType
in interface ConsoleRequest
public void writeResponse(ManagementCenterService mcs, JsonObject out)
writeResponse
in interface ConsoleRequest
public void fromJson(JsonObject json)
fromJson
in interface ConsoleRequest
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.