ZSocket

zio.zmq.ZSocket
See theZSocket companion object
class ZSocket

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bind(address: String): ZIO[Any, ZMQException, Unit]
def connect(address: String): ZIO[Any, ZMQException, Unit]
def connectPeer(address: String): ZIO[Any, ZMQException, RoutingId]
def disconnect(address: String): ZIO[Any, ZMQException, Unit]
def disconnectPeer(routingId: RoutingId): ZIO[Any, ZMQException, Boolean]
def pollIn: ZIO[Any, ZMQException, Boolean]
def receive: ZIO[Any, ZMQException, Chunk[Byte]]
def receiveChunkImmediately(max: Int): ZIO[Any, ZMQException, Chunk[Msg]]
def receiveImmediately: ZIO[Any, ZMQException, Option[Chunk[Byte]]]
def receiveMsg: ZIO[Any, ZMQException, Msg]
def receiveMsgImmediately: ZIO[Any, ZMQException, Option[Msg]]
def receiveString: ZIO[Any, ZMQException, String]
def receiveStringWithRoutingId: ZIO[Any, ZMQException, (RoutingId, String)]
def receiveWithRoutingId: ZIO[Any, ZMQException, (RoutingId, Chunk[Byte])]
def receiveWithRoutingIdImmediately: ZIO[Any, ZMQException, Option[(RoutingId, Chunk[Byte])]]
def send(routingId: RoutingId, bytes: Array[Byte]): ZIO[Any, ZMQException, Unit]
def send(bytes: Array[Byte]): ZIO[Any, ZMQException, Unit]
def sendImmediately(bytes: Array[Byte]): ZIO[Any, ZMQException, Boolean]
def sendImmediately(routingId: RoutingId, bytes: Array[Byte]): ZIO[Any, ZMQException, Boolean]
def sendMsg(msg: Msg): ZIO[Any, ZMQException, Unit]
def sendMsgImmediately(msg: Msg): ZIO[Any, ZMQException, Boolean]
def sendString(routingId: RoutingId, s: String): ZIO[Any, ZMQException, Unit]
def sendString(s: String): ZIO[Any, ZMQException, Unit]
def stream: ZStream[Any, ZMQException, Msg]
def stream(chunkSize: Int): ZStream[Any, ZMQException, Msg]

Concrete fields