-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some types and outlined the api
- Loading branch information
Showing
9 changed files
with
96 additions
and
51 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package postageapp; | ||
|
||
import java.util.List; | ||
|
||
import postageapp.models.*; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:09 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public interface PostageAppClient { | ||
public void sendMessage(); | ||
|
||
public int getMessageReceipt(); | ||
|
||
public List<String> getMethodList(); | ||
|
||
public AccountInfo getAccountInfo(); | ||
|
||
public ProjectInfo getProjectInfo(); | ||
|
||
public List<Message> getMessages(); | ||
|
||
public List<MessageTransmission> getMessageTransmissions(); | ||
|
||
public ProjectMetrics getMetrics(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.http; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:10 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public interface PostageAppHttpClient { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.models; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:17 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public class AccountInfo { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.models; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:20 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public class Message { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.models; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:22 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public class MessageTransmission { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.models; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:19 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public class ProjectInfo { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package postageapp.models; | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: stephanleroux | ||
* Date: 2012-11-23 | ||
* Time: 6:22 PM | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
public class ProjectMetrics { | ||
} |
This file was deleted.
Oops, something went wrong.