Class DeleteKeySpaceReply
java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoReply
pt.unl.fct.di.novasys.babel.protocols.storage.replies.common.CommonReply
pt.unl.fct.di.novasys.babel.protocols.storage.replies.CreateKeySpaceReply
pt.unl.fct.di.novasys.babel.protocols.storage.replies.DeleteKeySpaceReply
A reply issued by a removal of a keySpace. The reply contains the identifiers
of the the respective keySpace, as well information about the status of the
operation issued in the corresponding request, as well as an optional message
detailing the result.
-
Nested Class Summary
Nested classes/interfaces inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoIPC.Type -
Field Summary
FieldsFields inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.replies.common.CommonReply
EMPTY_MSG -
Constructor Summary
ConstructorsConstructorDescriptionDeleteKeySpaceReply(String keySpace, CommonOperationStatus status) Creates a delete key space eply with a given status and a message detailing the status.DeleteKeySpaceReply(String keySpace, CommonOperationStatus status, String message) Creates a delete key space reply with a given status, as well as the keySpace and collection identifier and a message detailing the status.DeleteKeySpaceReply(String keySpace, CommonOperationStatus status, String message, String reqID) Creates a delete key space reply with a given status, as well as the keySpace and collection identifier and a message detailing the status.Creates a delete key space reply with a given status. -
Method Summary
Methods inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.replies.CreateKeySpaceReply
getKeySpaceMethods inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.replies.common.CommonReply
getMessage, getReqID, getStatus, hasReqIDMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoReply
getIdMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
getType
-
Field Details
-
REPLY_ID
public static final short REPLY_ID- See Also:
-
-
Constructor Details
-
DeleteKeySpaceReply
Creates a delete key space reply with a given status.- Parameters:
status- the status of the reply.
-
DeleteKeySpaceReply
Creates a delete key space eply with a given status and a message detailing the status.- Parameters:
keySpace- keySpace of the creating createdstatus- the status of the reply.
-
DeleteKeySpaceReply
Creates a delete key space reply with a given status, as well as the keySpace and collection identifier and a message detailing the status.- Parameters:
keySpace- keySpace of the creating createdstatus- the status of the reply.message- a message detailing the status.
-
DeleteKeySpaceReply
public DeleteKeySpaceReply(String keySpace, CommonOperationStatus status, String message, String reqID) Creates a delete key space reply with a given status, as well as the keySpace and collection identifier and a message detailing the status. Additionally, the reply also stores the request identifier associated with the reply.- Parameters:
keySpace- keySpace of the creating createdstatus- the status of the reply.message- a message detailing the status.reqID- the request identifier associated with the reply.
-