protected static void inlineEncodeResponse ( final BinaryContext context, final IoBuffer data, final org.eclipse.scada.core.data.Response value ) throws Exception { // number of fields data.put ( (byte)1 ); // encode attributes org.eclipse.scada.core.protocol.ngp.codec.Structures.encodeRequest ( context, data, (byte)1, value.getRequest () ); }
protected static void inlineEncodeResponse ( final BinaryContext context, final IoBuffer data, final org.eclipse.scada.core.data.Response value ) throws Exception { // number of fields data.put ( (byte)1 ); // encode attributes org.eclipse.scada.core.protocol.ngp.codec.Structures.encodeRequest ( context, data, (byte)1, value.getRequest () ); }
public void handleResponse ( final ResponseMessage message ) { final ExecutorFuture<ResponseMessage> request = this.requestMap.remove ( message.getResponse ().getRequest ().getRequestId () ); if ( request != null ) { this.statistics.setCurrentValue ( STATS_OPEN_REQUESTS, this.requestMap.size () ); // update info request.asyncSetResult ( message ); } }
public void handleResponse ( final ResponseMessage message ) { final ExecutorFuture<ResponseMessage> request = this.requestMap.remove ( message.getResponse ().getRequest ().getRequestId () ); if ( request != null ) { this.statistics.setCurrentValue ( STATS_OPEN_REQUESTS, this.requestMap.size () ); // update info request.asyncSetResult ( message ); } }
private void handleResponse ( final ResponseMessage message ) { this.callbackHandlerManager.unregisterHandler ( message.getResponse ().getRequest ().getRequestId () ); this.responseManager.handleResponse ( message ); }
private void handleResponse ( final ResponseMessage message ) { this.callbackHandlerManager.unregisterHandler ( message.getResponse ().getRequest ().getRequestId () ); this.responseManager.handleResponse ( message ); }