-
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.
reorg code to accommodate more growth
- Loading branch information
1 parent
441bae9
commit 6d385df
Showing
40 changed files
with
146 additions
and
157 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...ch/ahb/lib/astm/servlet/Communicator.java → .../lib/astm/communication/Communicator.java
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
15 changes: 15 additions & 0 deletions
15
astm-http-lib/src/main/java/org/itech/ahb/lib/astm/concept/ASTMFrame.java
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,15 @@ | ||
package org.itech.ahb.lib.astm.concept; | ||
|
||
public interface ASTMFrame { | ||
public enum FrameType { | ||
INTERMEDIATE, | ||
END | ||
} | ||
|
||
FrameType getType(); | ||
void setType(FrameType object); | ||
String getText(); | ||
void setText(String text); | ||
void setFrameNumber(int numericValue); | ||
int getFrameNumber(); | ||
} |
2 changes: 1 addition & 1 deletion
2
...org/itech/ahb/lib/common/ASTMMessage.java → ...ech/ahb/lib/astm/concept/ASTMMessage.java
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,4 +1,4 @@ | ||
package org.itech.ahb.lib.common; | ||
package org.itech.ahb.lib.astm.concept; | ||
|
||
import java.util.List; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../org/itech/ahb/lib/common/ASTMRecord.java → ...tech/ahb/lib/astm/concept/ASTMRecord.java
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
11 changes: 11 additions & 0 deletions
11
astm-http-lib/src/main/java/org/itech/ahb/lib/astm/concept/DefaultASTMFrame.java
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 org.itech.ahb.lib.astm.concept; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DefaultASTMFrame implements ASTMFrame { | ||
|
||
private FrameType type; | ||
private int frameNumber = 0; | ||
private String text; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ch/ahb/lib/common/DefaultASTMMessage.java → .../lib/astm/concept/DefaultASTMMessage.java
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
2 changes: 1 addition & 1 deletion
2
...ech/ahb/lib/common/DefaultASTMRecord.java → ...b/lib/astm/concept/DefaultASTMRecord.java
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,4 +1,4 @@ | ||
package org.itech.ahb.lib.common; | ||
package org.itech.ahb.lib.astm.concept; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...exception/ASTMCommunicationException.java → ...exception/ASTMCommunicationException.java
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
2 changes: 1 addition & 1 deletion
2
...mmon/exception/FrameParsingException.java → ...astm/exception/FrameParsingException.java
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
2 changes: 1 addition & 1 deletion
2
...tm/servlet/ASTMForwardingHandlerInfo.java → ...m/handling/ASTMForwardingHandlerInfo.java
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,4 +1,4 @@ | ||
package org.itech.ahb.lib.astm.servlet; | ||
package org.itech.ahb.lib.astm.handling; | ||
|
||
//TODO add the capability to add info about forwarding (for example listen on sevaral sockets, and each socket could have a defined forwarding info) | ||
public class ASTMForwardingHandlerInfo {} |
4 changes: 2 additions & 2 deletions
4
...ech/ahb/lib/astm/servlet/ASTMHandler.java → ...ch/ahb/lib/astm/handling/ASTMHandler.java
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
6 changes: 3 additions & 3 deletions
6
...lib/astm/servlet/ASTMHandlerResponse.java → ...ib/astm/handling/ASTMHandlerResponse.java
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
.../astm/servlet/ASTMMarshallerResponse.java → ...astm/handling/ASTMMarshallerResponse.java
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
11 changes: 6 additions & 5 deletions
11
...b/lib/astm/servlet/ASTMReceiveThread.java → .../lib/astm/handling/ASTMReceiveThread.java
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
7 changes: 5 additions & 2 deletions
7
...itech/ahb/lib/common/ASTMInterpreter.java → .../astm/interpretation/ASTMInterpreter.java
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
5 changes: 4 additions & 1 deletion
5
...hb/lib/common/ASTMInterpreterFactory.java → ...nterpretation/ASTMInterpreterFactory.java
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
5 changes: 4 additions & 1 deletion
5
...common/DefaultASTMInterpreterFactory.java → ...tation/DefaultASTMInterpreterFactory.java
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
16 changes: 0 additions & 16 deletions
16
astm-http-lib/src/main/java/org/itech/ahb/lib/common/ASTMFrame.java
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
astm-http-lib/src/main/java/org/itech/ahb/lib/common/MarshallerResponse.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...ttp-lib/src/main/java/org/itech/ahb/lib/common/exception/ChecksumValidationException.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
astm-http-lib/src/main/java/org/itech/ahb/lib/common/exception/DecodeException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...http-lib/src/main/java/org/itech/ahb/lib/common/exception/MessageProcessingException.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...rg/itech/ahb/lib/common/HandleStatus.java → ...ahb/lib/common/handling/HandleStatus.java
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
2 changes: 1 addition & 1 deletion
2
...itech/ahb/lib/common/HandlerResponse.java → .../lib/common/handling/HandlerResponse.java
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
3 changes: 3 additions & 0 deletions
3
astm-http-lib/src/main/java/org/itech/ahb/lib/common/handling/MarshallerResponse.java
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,3 @@ | ||
package org.itech.ahb.lib.common.handling; | ||
|
||
public interface MarshallerResponse {} |
Oops, something went wrong.