Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 476 Bytes

tables_handler.md

File metadata and controls

18 lines (17 loc) · 476 Bytes

Tables operations handler - ITablesHandler

POS invokes this interface when

  • Table is dirty
  • Table is clean Example implementation
public class TablesHandler implements ITablesHandler {

	@Override
	public void operation(DriverConfiguration cfg, TableChangedRequest req) {
		if (req instanceof TableDirtyChangedRequest) {
			return handleTableDirtyChangedRequest(cfg, req);
		} else {
			throw new IllegalArgumentException("Operation not supported");
		}
	}
}