Package jp.cssj.driver.ctip.v2
Class TLSSocketChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
jp.cssj.driver.ctip.v2.TLSSocketChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,InterruptibleChannel,ReadableByteChannel,WritableByteChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigureBlocking(boolean b) booleanconnect(SocketAddress remote) protected voidbooleanbooleanbooleanprovider()intread(ByteBuffer dest) intvalidOps()intwrite(ByteBuffer src) Methods inherited from class java.nio.channels.SelectableChannel
registerMethods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Constructor Details
-
TLSSocketChannel
-
-
Method Details
-
connect
- Throws:
IOException
-
write
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
read
- Specified by:
readin interfaceReadableByteChannel- Throws:
IOException
-
isConnected
public boolean isConnected() -
configureBlocking
- Specified by:
configureBlockingin classSelectableChannel- Throws:
IOException
-
blockingLock
- Specified by:
blockingLockin classSelectableChannel
-
isBlocking
public boolean isBlocking()- Specified by:
isBlockingin classSelectableChannel
-
isRegistered
public boolean isRegistered()- Specified by:
isRegisteredin classSelectableChannel
-
keyFor
- Specified by:
keyForin classSelectableChannel
-
provider
- Specified by:
providerin classSelectableChannel
-
register
- Specified by:
registerin classSelectableChannel- Throws:
ClosedChannelException
-
validOps
public int validOps()- Specified by:
validOpsin classSelectableChannel
-
implCloseChannel
- Specified by:
implCloseChannelin classAbstractInterruptibleChannel- Throws:
IOException
-