Renamed some factory methods.

This commit is contained in:
akwizgran
2013-03-12 13:59:55 +00:00
parent 127ed22c40
commit be3b0bf4d6
3 changed files with 8 additions and 8 deletions

View File

@@ -11,12 +11,12 @@ public interface MessageFactory {
byte[] body) throws IOException, GeneralSecurityException;
/** Creates an anonymous message to an unrestricted group. */
Message createAnonymousGroupMessage(MessageId parent, Group group,
Message createAnonymousMessage(MessageId parent, Group group,
String contentType, byte[] body) throws IOException,
GeneralSecurityException;
/** Creates an anonymous message to a restricted group. */
Message createAnonymousGroupMessage(MessageId parent, Group group,
Message createAnonymousMessage(MessageId parent, Group group,
PrivateKey groupKey, String contentType, byte[] body)
throws IOException, GeneralSecurityException;