@@ -140,22 +140,23 @@ public void interest(CharSequence sender, CharSequence recipient, CharSequence f
140140
141141 @ Override
142142 public void assimilate (CharSequence sender , CharSequence recipient , CharSequence format ,
143- CharSequence channel , int era , long length , List <Long > offsets , InputStream dataIS ,
143+ CharSequence channel , int era , long length , List <Long > offsets , List <ASAPHop > asapHops ,
144+ InputStream dataIS ,
144145 OutputStream os , boolean signed ) throws IOException , ASAPException {
145146
146147 this .assimilate (sender , recipient , format , channel , era , length ,
147- offsets , dataIS , os , signed , false );
148+ offsets , asapHops , dataIS , os , signed , false );
148149 }
149150
150151 @ Override
151- public void assimilate (CharSequence sender , CharSequence recipient , CharSequence format ,
152+ public void assimilate (CharSequence sender , CharSequence receiver , CharSequence format ,
152153 CharSequence channel , int era , long length , List <Long > offsets , List <ASAPHop > asapHops ,
153154 InputStream dataIS , OutputStream os ,
154155 ASAPPoint2PointCryptoSettings secureSetting )
155156
156157 throws IOException , ASAPException {
157158
158- this .assimilate (sender , recipient , format , channel , era , length , offsets , dataIS , os ,
159+ this .assimilate (sender , receiver , format , channel , era , length , offsets , asapHops , dataIS , os ,
159160 secureSetting .mustSign (), secureSetting .mustEncrypt ());
160161 }
161162
@@ -164,7 +165,8 @@ public void assimilate(CharSequence sender, CharSequence recipient, CharSequence
164165 */
165166 @ Override
166167 public void assimilate (CharSequence sender , CharSequence recipient , CharSequence format ,
167- CharSequence channel , int era , long length , List <Long > offsets , InputStream dataIS ,
168+ CharSequence channel , int era , long length , List <Long > offsets , List <ASAPHop > asapHops ,
169+ InputStream dataIS ,
168170 OutputStream os , boolean signed , boolean encrypted ) throws IOException , ASAPException {
169171
170172 // prepare encryption and signing if required
@@ -175,29 +177,29 @@ public void assimilate(CharSequence sender, CharSequence recipient, CharSequence
175177 cryptoMessage .sendCmd ();
176178
177179 AssimilationPDU_Impl .sendPDUWithoutCmd (sender , recipient , format , channel , era ,
178- length , offsets , dataIS , cryptoMessage .getOutputStream (), signed );
180+ length , offsets , asapHops , dataIS , cryptoMessage .getOutputStream (), signed );
179181
180182 // finish crypto session - maybe nothing has to be done
181183 cryptoMessage .finish ();
182184 }
183185
184186 @ Override
185187 public void assimilate (CharSequence sender , CharSequence recipient , CharSequence format ,
186- CharSequence channel , int era , List <Long > offsets , byte [] data ,
188+ CharSequence channel , int era , List <Long > offsets , List < ASAPHop > asapHops , byte [] data ,
187189 OutputStream os , boolean signed ) throws IOException , ASAPException {
188190
189- this .assimilate (sender , recipient , format , channel , era , offsets , data , os , signed , false );
191+ this .assimilate (sender , recipient , format , channel , era , offsets , asapHops , data , os , signed , false );
190192 }
191193
192194 @ Override
193195 public void assimilate (CharSequence sender , CharSequence recipient , CharSequence format ,
194- CharSequence channel , int era , List <Long > offsets , byte [] data ,
196+ CharSequence channel , int era , List <Long > offsets , List < ASAPHop > asapHops , byte [] data ,
195197 OutputStream os , boolean signed , boolean encrypted ) throws IOException , ASAPException {
196198
197199 if (data == null || data .length == 0 ) throw new ASAPException ("data must not be null" );
198200 if (era < 0 ) throw new ASAPException ("era must be a non-negative value: " + era );
199201
200- this .assimilate (sender , recipient , format , channel , era , data .length , offsets ,
202+ this .assimilate (sender , recipient , format , channel , era , data .length , offsets , asapHops ,
201203 new ByteArrayInputStream (data ), os , signed , encrypted );
202204 }
203205
0 commit comments