-
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.
Signed-off-by: ZhangJian He <shoothzj@gmail.com>
- Loading branch information
Showing
14 changed files
with
42 additions
and
31 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
4 changes: 2 additions & 2 deletions
4
mtconnect-client/src/main/java/io/github/protocol/mtconnect/client/MtConnectClient.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
...lient/src/main/java/io/github/protocol/mtconnect/client/MtConnectClientConfiguration.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
...-examples/src/main/java/io/github/protocol/mtconnect/examples/MtConnectClientExample.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,11 +1,14 @@ | ||
package io.github.protocol.mtconnect.examples; | ||
|
||
import io.github.openfacade.http.HttpClientConfig; | ||
import io.github.protocol.mtconnect.client.MtConnectClient; | ||
import io.github.protocol.mtconnect.client.MtConnectClientConfiguration; | ||
|
||
public class MtConnectClientExample { | ||
public static void main(String[] args) { | ||
MtConnectClientConfiguration configuration = new MtConnectClientConfiguration(); | ||
new MtConnectClient(configuration); | ||
HttpClientConfig httpClientConfig = new HttpClientConfig.Builder().build(); | ||
configuration.setHttpConfig(httpClientConfig); | ||
MtConnectClient mtConnectClient = new MtConnectClient(configuration); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...-examples/src/main/java/io/github/protocol/mtconnect/examples/MtConnectServerExample.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
mtconnect-server/src/main/java/io/github/protocol/mtconnect/server/MtConnectServer.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
14 changes: 1 addition & 13 deletions
14
...erver/src/main/java/io/github/protocol/mtconnect/server/MtConnectServerConfiguration.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
1 change: 0 additions & 1 deletion
1
mtconnect-server/src/main/java/io/github/protocol/mtconnect/server/MtHandler.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,5 +1,4 @@ | ||
package io.github.protocol.mtconnect.server; | ||
|
||
|
||
public interface MtHandler { | ||
} |
2 changes: 0 additions & 2 deletions
2
mtconnect-server/src/main/java/io/github/protocol/mtconnect/server/MtHandlerImpl.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,6 +1,4 @@ | ||
package io.github.protocol.mtconnect.server; | ||
|
||
|
||
|
||
public class MtHandlerImpl implements MtHandler { | ||
} |
6 changes: 3 additions & 3 deletions
6
mtconnect-server/src/main/java/io/github/protocol/mtconnect/server/MtRequestProcessor.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