-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated to use SafeBuffer * Added ByteBuffer and DirectByteBuffer * Added pointer overload to DataEnqueue * Updated FileEnqueue() to use pointer arithmetic * Updated NormStream to use pointer arithmetic * Updated NormSendCommand to nint * Updated NormNodeGetCommand to nint * Updated NormNodeGetAddress to use nint for buffer * Updated NormStreamRead to use nint for buffer * Updated NormObjectGetInfo to use nint for buffer * Updated NormFileGetName nameBuffer to nint
- Loading branch information
Showing
35 changed files
with
1,214 additions
and
442 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@startuml | ||
abstract class ByteBuffer { | ||
# ByteBuffer() | ||
+ {static} AllocateDirect(capacity:int) : ByteBuffer | ||
} | ||
SafeBuffer <|-- ByteBuffer | ||
@enduml |
7 changes: 7 additions & 0 deletions
7
src/dotnet/design/Mil/Navy/Nrl/Norm/Buffers/DirectByteBuffer.puml
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,7 @@ | ||
@startuml | ||
class DirectByteBuffer <<sealed>> { | ||
<<internal>> DirectByteBuffer(capacity:int) | ||
# <<override>> ReleaseHandle() : bool | ||
} | ||
ByteBuffer <|-- DirectByteBuffer | ||
@enduml |
10 changes: 5 additions & 5 deletions
10
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormAckingStatus.puml
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
@startuml | ||
enum NormAckingStatus { | ||
NORM_ACK_INVALID | ||
NORM_ACK_FAILURE | ||
NORM_ACK_PENDING | ||
NORM_ACK_SUCCESS | ||
NORM_ACK_INVALID, | ||
NORM_ACK_FAILURE, | ||
NORM_ACK_PENDING, | ||
NORM_ACK_SUCCESS, | ||
} | ||
@enduml | ||
@enduml |
60 changes: 30 additions & 30 deletions
60
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormEventType.puml
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
@startuml | ||
enum NormEventType { | ||
NORM_EVENT_INVALID | ||
NORM_TX_QUEUE_VACANCY | ||
NORM_TX_QUEUE_EMPTY | ||
NORM_TX_FLUSH_COMPLETED | ||
NORM_TX_WATERMARK_COMPLETED | ||
NORM_TX_CMD_SENT | ||
NORM_TX_OBJECT_SENT | ||
NORM_TX_OBJECT_PURGED | ||
NORM_TX_RATE_CHANGED | ||
NORM_LOCAL_SENDER_CLOSED | ||
NORM_REMOTE_SENDER_NEW | ||
NORM_REMOTE_SENDER_RESET | ||
NORM_REMOTE_SENDER_ADDRESS | ||
NORM_REMOTE_SENDER_ACTIVE | ||
NORM_REMOTE_SENDER_INACTIVE | ||
NORM_REMOTE_SENDER_PURGED | ||
NORM_RX_CMD_NEW | ||
NORM_RX_OBJECT_NEW | ||
NORM_RX_OBJECT_INFO | ||
NORM_RX_OBJECT_UPDATED | ||
NORM_RX_OBJECT_COMPLETED | ||
NORM_RX_OBJECT_ABORTED | ||
NORM_RX_ACK_REQUEST | ||
NORM_GRTT_UPDATED | ||
NORM_CC_ACTIVE | ||
NORM_CC_INACTIVE | ||
NORM_ACKING_NODE_NEW | ||
NORM_SEND_ERROR | ||
NORM_USER_TIMEOUT | ||
NORM_EVENT_INVALID, | ||
NORM_TX_QUEUE_VACANCY, | ||
NORM_TX_QUEUE_EMPTY, | ||
NORM_TX_FLUSH_COMPLETED, | ||
NORM_TX_WATERMARK_COMPLETED, | ||
NORM_TX_CMD_SENT, | ||
NORM_TX_OBJECT_SENT, | ||
NORM_TX_OBJECT_PURGED, | ||
NORM_TX_RATE_CHANGED, | ||
NORM_LOCAL_SENDER_CLOSED, | ||
NORM_REMOTE_SENDER_NEW, | ||
NORM_REMOTE_SENDER_RESET, | ||
NORM_REMOTE_SENDER_ADDRESS, | ||
NORM_REMOTE_SENDER_ACTIVE, | ||
NORM_REMOTE_SENDER_INACTIVE, | ||
NORM_REMOTE_SENDER_PURGED, | ||
NORM_RX_CMD_NEW, | ||
NORM_RX_OBJECT_NEW, | ||
NORM_RX_OBJECT_INFO, | ||
NORM_RX_OBJECT_UPDATED, | ||
NORM_RX_OBJECT_COMPLETED, | ||
NORM_RX_OBJECT_ABORTED, | ||
NORM_RX_ACK_REQUEST, | ||
NORM_GRTT_UPDATED, | ||
NORM_CC_ACTIVE, | ||
NORM_CC_INACTIVE, | ||
NORM_ACKING_NODE_NEW, | ||
NORM_SEND_ERROR, | ||
NORM_USER_TIMEOUT, | ||
} | ||
@enduml | ||
@enduml |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@startuml | ||
enum NormFecType { | ||
RS | ||
RS8 | ||
SB | ||
RS, | ||
RS8, | ||
SB, | ||
} | ||
@enduml | ||
@enduml |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@startuml | ||
enum NormFlushMode { | ||
NORM_FLUSH_NONE | ||
NORM_FLUSH_PASSIVE | ||
NORM_FLUSH_ACTIVE | ||
NORM_FLUSH_NONE, | ||
NORM_FLUSH_PASSIVE, | ||
NORM_FLUSH_ACTIVE, | ||
} | ||
@enduml | ||
@enduml |
8 changes: 4 additions & 4 deletions
8
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormNackingMode.puml
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@startuml | ||
enum NormNackingMode { | ||
NORM_NACK_NONE | ||
NORM_NACK_INFO_ONLY | ||
NORM_NACK_NORMAL | ||
NORM_NACK_NONE, | ||
NORM_NACK_INFO_ONLY, | ||
NORM_NACK_NORMAL, | ||
} | ||
@enduml | ||
@enduml |
10 changes: 5 additions & 5 deletions
10
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormObjectType.puml
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
@startuml | ||
enum NormObjectType { | ||
NORM_OBJECT_NONE | ||
NORM_OBJECT_DATA | ||
NORM_OBJECT_FILE | ||
NORM_OBJECT_STREAM | ||
NORM_OBJECT_NONE, | ||
NORM_OBJECT_DATA, | ||
NORM_OBJECT_FILE, | ||
NORM_OBJECT_STREAM, | ||
} | ||
@enduml | ||
@enduml |
8 changes: 4 additions & 4 deletions
8
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormProbingMode.puml
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@startuml | ||
enum NormProbingMode { | ||
NORM_PROBE_NONE | ||
NORM_PROBE_PASSIVE | ||
NORM_PROBE_ACTIVE | ||
NORM_PROBE_NONE, | ||
NORM_PROBE_PASSIVE, | ||
NORM_PROBE_ACTIVE, | ||
} | ||
@enduml | ||
@enduml |
6 changes: 3 additions & 3 deletions
6
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormRepairBoundary.puml
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@startuml | ||
enum NormRepairBoundary { | ||
NORM_BOUNDARY_BLOCK | ||
NORM_BOUNDARY_OBJECT | ||
NORM_BOUNDARY_BLOCK, | ||
NORM_BOUNDARY_OBJECT, | ||
} | ||
@enduml | ||
@enduml |
8 changes: 4 additions & 4 deletions
8
src/dotnet/design/Mil/Navy/Nrl/Norm/Enums/NormSyncPolicy.puml
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@startuml | ||
enum NormSyncPolicy { | ||
NORM_SYNC_CURRENT | ||
NORM_SYNC_STREAM | ||
NORM_SYNC_ALL | ||
NORM_SYNC_CURRENT, | ||
NORM_SYNC_STREAM, | ||
NORM_SYNC_ALL, | ||
} | ||
@enduml | ||
@enduml |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
interface INormEventListener { | ||
NormEventOccurred(normEvent:NormEvent) : void | ||
} | ||
@enduml | ||
@enduml |
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
4 changes: 2 additions & 2 deletions
4
src/dotnet/design/Mil/Navy/Nrl/Norm/IO/StreamBreakException.puml
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@startuml | ||
class StreamBreakException { | ||
+ StreamBreakException(message:string) | ||
+ StreamBreakException(message:string?) | ||
} | ||
IOException <|-- StreamBreakException | ||
@enduml | ||
@enduml |
Oops, something went wrong.