@@ -100,6 +100,8 @@ public interface ASAPStorage {
100100 */
101101 void createChannel (CharSequence urlTarget , CharSequence recipient ) throws IOException , ASAPException ;
102102
103+ void removeChannel (CharSequence uri ) throws IOException ;
104+
103105 /**
104106 * Chunks are delivered when seeing other peers. This flag allows to decide whether delivered chunks
105107 * are to be deleted.
@@ -167,9 +169,9 @@ public interface ASAPStorage {
167169 * @param message Message to be kept for later transmission
168170 * @throws IOException
169171 */
170- public void add (CharSequence urlTarget , CharSequence message ) throws IOException ;
172+ void add (CharSequence urlTarget , CharSequence message ) throws IOException ;
171173
172- public void add (CharSequence urlTarget , byte [] messageAsBytes ) throws IOException ;
174+ void add (CharSequence urlTarget , byte [] messageAsBytes ) throws IOException ;
173175
174176 void attachASAPMessageAddListener (ASAPOnlineMessageSender asapOnlineMessageSender );
175177
@@ -215,7 +217,7 @@ public interface ASAPStorage {
215217 * @param era
216218 * @return
217219 */
218- public int getPreviousEra (int era );
220+ int getPreviousEra (int era );
219221
220222 /**
221223 * Default behaviour of ASAPEngine: Each peer / communication partner
@@ -225,24 +227,22 @@ public interface ASAPStorage {
225227 * @param sender
226228 * @return
227229 */
228- public ASAPChunkStorage getIncomingChunkStorage (CharSequence sender );
230+ ASAPChunkStorage getIncomingChunkStorage (CharSequence sender );
229231
230232 ASAPStorage getExistingIncomingStorage (CharSequence sender ) throws IOException , ASAPException ;
231233
232234 /**
233235 *
234236 * @return list of peers with an incoming chunk storage
235237 */
236- public List <CharSequence > getSender ();
238+ List <CharSequence > getSender ();
237239
238240 /**
239241 *
240242 * @return The local chunk storage that is meant to be used by the local
241- * app. Note: That storage is changed during an AASP session.
243+ * app. Note: That storage is changed during an ASAP session.
242244 */
243- public ASAPChunkStorage getChunkStorage ();
244-
245- void removeChannel (CharSequence uri ) throws IOException ;
245+ ASAPChunkStorage getChunkStorage ();
246246
247247 ASAPChannelMessages getChunkChain (int position ) throws IOException , ASAPException ;
248248
0 commit comments