@ Override public void writeSend ( StubAmp actor , String methodName , Object [ ] args , InboxAmp inbox ) { try ( OutputStream os = openItem ( inbox ) ) { // XXX: should keep open try ( OutH3 out = _serializer . out ( os ) ) { String key = actor . journalKey ( ) ; out . writeLong ( CODE_SEND ) ; out . writeString ( key ) ; out . writeString ( methodName ) ; out . writeLong ( args . length ) ; for ( Object arg : args ) { out . writeObject ( arg ) ; } } //_count++; } catch ( IOException e ) { log . log ( Level . FINER , e . toString ( ) , e ) ; } }
Writes the send to the journal . The queryRef values are not saved because restoring them does not make sense .