forked from LipiLee/ToyShark
-
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.
refactor: Kotlin Converting LipiLee#2
Kotlin Converting LipiLee#2
- Loading branch information
Jungwoon
committed
Jan 22, 2019
1 parent
3f027dc
commit 346e222
Showing
7 changed files
with
41 additions
and
42 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
12 changes: 0 additions & 12 deletions
12
app/src/main/java/com/lipisoft/toyshark/socket/IProtectSocket.java
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
app/src/main/java/com/lipisoft/toyshark/socket/IProtectSocket.kt
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,12 @@ | ||
package com.lipisoft.toyshark.socket | ||
|
||
import java.net.DatagramSocket | ||
import java.net.Socket | ||
|
||
interface IProtectSocket { | ||
fun protectSocket(socket: Socket) | ||
|
||
fun protectSocket(socket: Int) | ||
|
||
fun protectSocket(socket: DatagramSocket) | ||
} |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/lipisoft/toyshark/socket/IReceivePacket.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/lipisoft/toyshark/socket/IReceivePacket.kt
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,5 @@ | ||
package com.lipisoft.toyshark.socket | ||
|
||
interface IReceivePacket { | ||
fun receive(packet: ByteArray) | ||
} |
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