actions.addLast(info);
}
- public void execute(DeltaSession session) {
- execute(session,true);
- }
-
public void execute(DeltaSession session, boolean notifyListeners) {
if ( !this.sessionId.equals( session.getId() ) )
throw new java.lang.IllegalArgumentException("Session id mismatch, not executing the delta request");
info = actionPool.removeFirst();
} catch ( Exception x ) {
log.error("Unable to remove element",x);
- info = new AttributeInfo(-1,-1,null,null);
+ info = new AttributeInfo();
}
}
else {
- info = new AttributeInfo(-1,-1,null,null);
+ info = new AttributeInfo();
}
info.readExternal(in);
actions.addLast(info);
private int action;
private int type;
+ public AttributeInfo() {
+ this(-1, -1, null, null);
+ }
+
public AttributeInfo(int type,
int action,
String name,