com.hazelcast.management.request
Class ConsoleCommandRequest

java.lang.Object
  extended by com.hazelcast.management.request.ConsoleCommandRequest
All Implemented Interfaces:
JsonSerializable, ConsoleRequest

public class ConsoleCommandRequest
extends Object
implements ConsoleRequest

Request for sending console commands.


Constructor Summary
ConsoleCommandRequest()
           
ConsoleCommandRequest(String command)
           
 
Method Summary
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 int getType()
           
 Object readResponse(com.eclipsesource.json.JsonObject json)
           
 com.eclipsesource.json.JsonObject toJson()
           
 void writeResponse(ManagementCenterService mcs, com.eclipsesource.json.JsonObject root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleCommandRequest

public ConsoleCommandRequest()

ConsoleCommandRequest

public ConsoleCommandRequest(String command)
Method Detail

getType

public int getType()
Specified by:
getType in interface ConsoleRequest

writeResponse

public void writeResponse(ManagementCenterService mcs,
                          com.eclipsesource.json.JsonObject root)
                   throws Exception
Specified by:
writeResponse in interface ConsoleRequest
Throws:
Exception

readResponse

public Object readResponse(com.eclipsesource.json.JsonObject json)
Specified by:
readResponse in interface ConsoleRequest

toJson

public com.eclipsesource.json.JsonObject toJson()
Specified by:
toJson in interface JsonSerializable

fromJson

public void fromJson(com.eclipsesource.json.JsonObject json)
Specified by:
fromJson in interface JsonSerializable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.