Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MediaBackupEJB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kai Markus Tegtmeier
MediaBackupEJB
Commits
372fb53f
Commit
372fb53f
authored
1 year ago
by
tonschnoer
Browse files
Options
Downloads
Patches
Plain Diff
added tcpclient
parent
106cd2fe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MediaBackupEJB/src/main/java/de/kmt/ndr/Main.java
+3
-0
3 additions, 0 deletions
MediaBackupEJB/src/main/java/de/kmt/ndr/Main.java
MediaBackupEJB/src/main/java/de/kmt/ndr/TCPClient.java
+2
-6
2 additions, 6 deletions
MediaBackupEJB/src/main/java/de/kmt/ndr/TCPClient.java
with
5 additions
and
6 deletions
MediaBackupEJB/src/main/java/de/kmt/ndr/Main.java
+
3
−
0
View file @
372fb53f
...
...
@@ -32,6 +32,9 @@ public class Main {
public
void
scheduler
(
Timer
timer
)
{
try
{
System
.
out
.
println
(
"Timer fired."
);
TCPClient
tc
=
new
TCPClient
();
tc
.
run
();
}
catch
(
Exception
_ex
)
{
_ex
.
printStackTrace
();
}
...
...
This diff is collapsed.
Click to expand it.
MediaBackupEJB/src/main/java/de/kmt/ndr/TCPClient.java
+
2
−
6
View file @
372fb53f
...
...
@@ -19,12 +19,8 @@ public class TCPClient {
/** The logger. */
protected
final
Logger
logger
=
LogManager
.
getLogger
();
/**
* The main method.
*
* @param args the arguments
*/
public
void
main
(
String
[]
args
)
{
public
void
run
()
{
byte
[]
buffer
=
new
byte
[
32768
];
try
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment