5960616263646566676869
this.receivedMessage = receivedMessage; this.conversationManager = conversationManager; } public void respond(Object body) { Message msg = new MessageImpl( this.conversationId, this.senderId, recipientId, -1, receivedMessage.getRequestId(), body );
7071727374757677787980
writer.write( msg ); } public void respondError(Throwable throwable) { Message msg = new ExceptionMessage( this.conversationId, this.senderId, recipientId, -1, receivedMessage.getRequestId(), throwable );
8687888990919293949596
MessageReceiverHandler handler) { int requestId = -1; if ( handler != null ) { requestId = this.requestId.getAndIncrement(); } Message msg = new MessageImpl( this.conversationId, this.senderId, recipientId, requestId, -1, body );