Skip to content

Commit f9968d8

Browse files
committed
Move TcpSockets into util package
1 parent 8314771 commit f9968d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

server/src/main/kotlin/org/javacs/kt/Main.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import org.eclipse.lsp4j.launch.LSPLauncher
77
import org.eclipse.lsp4j.ConfigurationParams
88
import org.eclipse.lsp4j.ConfigurationItem
99
import org.javacs.kt.util.ExitingInputStream
10+
import org.javacs.kt.util.tcpStartServer
11+
import org.javacs.kt.util.tcpConnectToClient
1012

1113
class Args {
1214
/*

server/src/main/kotlin/org/javacs/kt/TcpSockets.kt renamed to server/src/main/kotlin/org/javacs/kt/util/TcpSockets.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
package org.javacs.kt
1+
package org.javacs.kt.util
22

33
import java.io.InputStream
44
import java.io.OutputStream
55
import java.net.Socket
66
import java.net.ServerSocket
7+
import org.javacs.kt.LOG
78

89
/**
910
* Starts a TCP server socket. Blocks until the first

0 commit comments

Comments
 (0)