Client can register listeners to be used by the connectivity layer to notify the implementation about the result of the request.
class example implements INetListener{ .... public void makeGetRequest(...) throws Exception { .... BaseRequest getrequest = new BaseRequest(); getrequest.setListener(this); } ... }
By default, the BaseRequest object included in the connectivity layer will contain no registered listeners.