Class DeleteKeySpaceReply

java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoReply

public class DeleteKeySpaceReply extends CreateKeySpaceReply
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.
  • Field Details

  • Constructor Details

    • DeleteKeySpaceReply

      public DeleteKeySpaceReply(CommonOperationStatus status)
      Creates a delete key space reply with a given status.
      Parameters:
      status - the status of the reply.
    • DeleteKeySpaceReply

      public DeleteKeySpaceReply(String keySpace, CommonOperationStatus status)
      Creates a delete key space eply with a given status and a message detailing the status.
      Parameters:
      keySpace - keySpace of the creating created
      status - the status of the reply.
    • DeleteKeySpaceReply

      public 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.
      Parameters:
      keySpace - keySpace of the creating created
      status - 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 created
      status - the status of the reply.
      message - a message detailing the status.
      reqID - the request identifier associated with the reply.