public class SocketChannelImpl extends Object implements ISocket
构造器和说明 |
---|
SocketChannelImpl(SocketChannel socketChannel) |
public SocketChannelImpl(SocketChannel socketChannel)
public boolean isConnected()
isConnected
在接口中 ISocket
public int write(byte[] bytes) throws IOException
write
在接口中 ISocket
IOException
public int read(byte[] bytes, int offset, int len) throws IOException
read
在接口中 ISocket
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
IOException
Copyright © 2023. All rights reserved.