Skip to content

Commit a2c73af

Browse files
committed
start refactoring asp3 to aasp
1 parent c2da08d commit a2c73af

20 files changed

+1749
-1731
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
/*
2-
* To change this license header, choose License Headers in Project Properties.
3-
* To change this template file, choose Tools | Templates
4-
* and open the template in the editor.
5-
*/
6-
package net.sharksystem.asp3;
7-
8-
import java.io.IOException;
9-
import java.util.Iterator;
10-
import java.util.List;
11-
12-
/**
13-
*
14-
* @author thsc
15-
*/
16-
public interface ASP3Chunk {
17-
/**
18-
*
19-
* @return number of message in that chunk
20-
*/
21-
int getNumberMessage();
22-
23-
/**
24-
* URI which represents topic of messages in that chunk
25-
* @return
26-
* @throws IOException
27-
*/
28-
String getUri() throws IOException;
29-
30-
/**
31-
*
32-
* @return iterator of all messages in the chunk
33-
* @throws IOException
34-
*/
35-
Iterator<CharSequence> getMessages() throws IOException;
36-
37-
/**
38-
* remove that chunk.. drop all object references after
39-
* calling this methods. Further calls on this object
40-
* have an undefined behaviour.
41-
*/
42-
public void drop();
43-
44-
public int getEra() throws IOException;
45-
46-
/**
47-
*
48-
* @return recipients of that chunk
49-
*/
50-
List<CharSequence> getRecipients();
51-
52-
/**
53-
* add recipients
54-
* @param recipient
55-
* @throws IOException
56-
*/
57-
void addRecipient(CharSequence recipient) throws IOException;
58-
59-
/**
60-
* set a list of recipients. Former recipients are dikscarded
61-
* @param recipients
62-
* @throws IOException
63-
*/
64-
void setRecipients(List<CharSequence> recipients) throws IOException;
65-
66-
/**
67-
* recipient is removed
68-
* @param recipients
69-
* @throws IOException
70-
*/
71-
void removeRecipient(CharSequence recipients) throws IOException;
72-
73-
/**
74-
* adds a message
75-
* @param message
76-
* @throws IOException
77-
*/
78-
void add(CharSequence message) throws IOException;
79-
}
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package net.sharksystem.aasp;
7+
8+
import java.io.IOException;
9+
import java.util.Iterator;
10+
import java.util.List;
11+
12+
/**
13+
*
14+
* @author thsc
15+
*/
16+
public interface ASP3Chunk {
17+
/**
18+
*
19+
* @return number of message in that chunk
20+
*/
21+
int getNumberMessage();
22+
23+
/**
24+
* URI which represents topic of messages in that chunk
25+
* @return
26+
* @throws IOException
27+
*/
28+
String getUri() throws IOException;
29+
30+
/**
31+
*
32+
* @return iterator of all messages in the chunk
33+
* @throws IOException
34+
*/
35+
Iterator<CharSequence> getMessages() throws IOException;
36+
37+
/**
38+
* remove that chunk.. drop all object references after
39+
* calling this methods. Further calls on this object
40+
* have an undefined behaviour.
41+
*/
42+
public void drop();
43+
44+
public int getEra() throws IOException;
45+
46+
/**
47+
*
48+
* @return recipients of that chunk
49+
*/
50+
List<CharSequence> getRecipients();
51+
52+
/**
53+
* add recipients
54+
* @param recipient
55+
* @throws IOException
56+
*/
57+
void addRecipient(CharSequence recipient) throws IOException;
58+
59+
/**
60+
* set a list of recipients. Former recipients are dikscarded
61+
* @param recipients
62+
* @throws IOException
63+
*/
64+
void setRecipients(List<CharSequence> recipients) throws IOException;
65+
66+
/**
67+
* recipient is removed
68+
* @param recipients
69+
* @throws IOException
70+
*/
71+
void removeRecipient(CharSequence recipients) throws IOException;
72+
73+
/**
74+
* adds a message
75+
* @param message
76+
* @throws IOException
77+
*/
78+
void add(CharSequence message) throws IOException;
79+
}

0 commit comments

Comments
 (0)