zio
.
nio
.
channels
SocketChannel
Related Docs:
object SocketChannel
|
package channels
final
class
SocketChannel
extends
SelectableChannel
with
GatheringByteChannel
with
ScatteringByteChannel
Linear Supertypes
ScatteringByteChannel
,
GatheringByteChannel
,
SelectableChannel
,
Channel
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SocketChannel
ScatteringByteChannel
GatheringByteChannel
SelectableChannel
Channel
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
bind
(
local:
Option
[
SocketAddress
]
)
:
IO
[
IOException
,
Unit
]
final
def
bindAuto
:
IO
[
IOException
,
Unit
]
final
def
bindTo
(
address:
SocketAddress
)
:
IO
[
IOException
,
Unit
]
final
val
blockingLock
:
UIO
[
AnyRef
]
Definition Classes
SelectableChannel
val
channel
:
java.nio.channels.SocketChannel
Attributes
protected[
zio.nio.channels
]
Definition Classes
SocketChannel
→
ScatteringByteChannel
→
GatheringByteChannel
→
SelectableChannel
→
Channel
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
configureBlocking
(
block:
Boolean
)
:
IO
[
IOException
,
Unit
]
Definition Classes
SelectableChannel
final
def
connect
(
remote:
SocketAddress
)
:
IO
[
IOException
,
Boolean
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
val
finishConnect
:
IO
[
IOException
,
Boolean
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
val
isBlocking
:
UIO
[
Boolean
]
Definition Classes
SelectableChannel
final
val
isConnected
:
UIO
[
Boolean
]
final
val
isConnectionPending
:
UIO
[
Boolean
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isOpen
:
UIO
[
Boolean
]
Tells whether or not this channel is open.
Tells whether or not this channel is open.
Definition Classes
Channel
final
val
isRegistered
:
UIO
[
Boolean
]
Definition Classes
SelectableChannel
final
def
keyFor
(
sel:
Selector
)
:
UIO
[
Option
[
SelectionKey
]]
Definition Classes
SelectableChannel
final
val
localAddress
:
IO
[
IOException
,
Option
[
SocketAddress
]]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
val
provider
:
UIO
[
SelectorProvider
]
Definition Classes
SelectableChannel
final
def
read
(
dst:
ByteBuffer
)
:
IO
[
IOException
,
Long
]
Definition Classes
ScatteringByteChannel
final
def
read
(
dsts:
List
[
ByteBuffer
]
)
:
IO
[
IOException
,
Long
]
Definition Classes
ScatteringByteChannel
final
def
readChunk
(
capacity:
Int
)
:
IO
[
IOException
,
Chunk
[
Byte
]]
Definition Classes
ScatteringByteChannel
final
def
register
(
sel:
Selector
,
op:
Operation
)
:
IO
[
IOException
,
SelectionKey
]
Definition Classes
SelectableChannel
final
def
register
(
sel:
Selector
,
op:
Operation
,
att:
Option
[
AnyRef
]
)
:
IO
[
IOException
,
SelectionKey
]
Definition Classes
SelectableChannel
final
def
register
(
sel:
Selector
,
ops:
Set
[
Operation
]
)
:
IO
[
IOException
,
SelectionKey
]
Definition Classes
SelectableChannel
final
def
register
(
sel:
Selector
,
ops:
Set
[
Operation
]
,
att:
Option
[
AnyRef
]
)
:
IO
[
IOException
,
SelectionKey
]
Definition Classes
SelectableChannel
final
val
remoteAddress
:
IO
[
IOException
,
SocketAddress
]
final
def
setOption
[
T
]
(
name:
SocketOption
[
T
]
,
value:
T
)
:
IO
[
IOException
,
Unit
]
final
val
shutdownInput
:
IO
[
IOException
,
Unit
]
final
val
shutdownOutput
:
IO
[
IOException
,
Unit
]
final
val
socket
:
UIO
[
Socket
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
val
validOps
:
UIO
[
Set
[
Operation
]]
Definition Classes
SelectableChannel
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
write
(
src:
ByteBuffer
)
:
IO
[
Exception
,
Long
]
Definition Classes
GatheringByteChannel
final
def
write
(
srcs:
List
[
ByteBuffer
]
)
:
IO
[
Exception
,
Long
]
Definition Classes
GatheringByteChannel
final
def
writeChunk
(
src:
Chunk
[
Byte
]
)
:
IO
[
Exception
,
Long
]
Definition Classes
GatheringByteChannel
final
def
writeChunks
(
srcs:
List
[
Chunk
[
Byte
]]
)
:
IO
[
Exception
,
Long
]
Definition Classes
GatheringByteChannel
Inherited from
ScatteringByteChannel
Inherited from
GatheringByteChannel
Inherited from
SelectableChannel
Inherited from
Channel
Inherited from
AnyRef
Inherited from
Any
Ungrouped