-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
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
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,12 @@ | ||
module tristanable.queue.listener; | ||
|
||
// TODO: Implement me | ||
|
||
import tristanable.queue; | ||
import tristanable.encoding; | ||
|
||
public interface TListener | ||
{ | ||
// TODO: See if this is all we need / what we want | ||
public void onQueueReceive(Queue queue, TaggedMessage 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,16 @@ | ||
/** | ||
* Queue type and related facilities | ||
*/ | ||
module tristanable.queue; | ||
|
||
|
||
/** | ||
* The Queue type for enqueueing and dequeueing messages | ||
*/ | ||
public import tristanable.queue.queue : Queue; | ||
|
||
/** | ||
* Interface type for definining listeners which can be hooked | ||
* to queue actions | ||
*/ | ||
public import tristanable.queue.listener : TListener; |
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