public void sendDeleteRequest(DeleteRequestDMO request, ResponseHandlerIF handler, ErrorOptionsEnum rpc, ErrorOptionsEnum dmp){
if (sessionID == null){
throw(new IllegalStateException("Attempted to send delete request but we're not logged in."));
}
else{
DeleteResponseCallback cb = new DeleteResponseCallback(request, handler, this, rpc, dmp);
checkRequestID(request);
requests.put(request.getNthRequestID(0), cb);
dmpConnection.delete(request, cb);
lastRequestTime = System.currentTimeMillis();
}