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