- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.remote.RemoteClient
-
- 所有已实现的接口:
Closeable
,AutoCloseable
public class RemoteClient extends Object implements Closeable
-
-
构造器概要
构造器 构造器 说明 RemoteClient()
RemoteClient(@NotNull RemoteConnection connection)
RemoteClient(@NotNull String host, int port)
RemoteClient(@NotNull SocketChannel channel)
-
-
-
构造器详细资料
-
RemoteClient
public RemoteClient(@NotNull @NotNull RemoteConnection connection)
-
RemoteClient
public RemoteClient(@NotNull @NotNull SocketChannel channel)
-
RemoteClient
public RemoteClient(@NotNull @NotNull String host, int port) throws IOException
- 抛出:
IOException
-
RemoteClient
public RemoteClient() throws IOException
- 抛出:
IOException
-
-
方法详细资料
-
getConnection
@Contract(pure=true) public RemoteConnection getConnection()
-
close
public void close() throws IOException
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 抛出:
IOException
-
-