Package zmq.socket.radiodish
Class Dish
- java.lang.Object
-
- zmq.ZObject
-
- zmq.Own
-
- zmq.SocketBase
-
- zmq.socket.radiodish.Dish
-
- All Implemented Interfaces:
Pipe.IPipeEvents,IPollEvents
public class Dish extends SocketBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDish.DishSession
-
Field Summary
Fields Modifier and Type Field Description private Distdistprivate FQfqprivate MsgpendingMsgprivate java.util.Set<java.lang.String>subscriptions-
Fields inherited from class zmq.SocketBase
connectRid
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidsendSubscriptions(Pipe pipe)protected voidxattachPipe(Pipe pipe, boolean subscribe2all, boolean isLocallyInitiated)protected booleanxhasIn()protected booleanxhasOut()protected voidxhiccuped(Pipe pipe)protected booleanxjoin(java.lang.String group)protected booleanxleave(java.lang.String group)protected voidxpipeTerminated(Pipe pipe)protected voidxreadActivated(Pipe pipe)protected Msgxrecv()protected booleanxsend(Msg msg)protected voidxwriteActivated(Pipe pipe)private Msgxxrecv()-
Methods inherited from class zmq.SocketBase
bind, cancel, close, connect, connectPeer, destroy, disconnectPeer, errno, eventAccepted, eventAcceptFailed, eventBindFailed, eventClosed, eventCloseFailed, eventConnectDelayed, eventConnected, eventConnectRetried, eventDisconnected, eventHandshakeFailedAuth, eventHandshakeFailedNoDetail, eventHandshakeFailedProtocol, eventHandshaken, eventHandshakeSucceeded, eventListening, getCredential, getFD, getSocketOpt, getSocketOptx, hiccuped, inEvent, join, leave, monitor, monitorEvent, pipeTerminated, poll, processBind, processDestroy, processStop, processTerm, readActivated, recv, recv, send, send, setSocketOpt, termEndpoint, toString, typeString, writeActivated, xdisconnectPeer, xsetsockopt
-
Methods inherited from class zmq.Own
incSeqnum, isTerminating, launchChild, processOwn, processSeqnum, processTermAck, processTermReq, termChild, terminate
-
Methods inherited from class zmq.ZObject
chooseIoThread, connectPending, destroySocket, findEndpoint, getCtx, getTid, pendConnection, processActivateRead, processActivateWrite, processAttach, processCancel, processHiccup, processPipeTerm, processPipeTermAck, processPlug, processReap, processReapAck, processReaped, registerEndpoint, sendActivateRead, sendActivateWrite, sendAttach, sendAttach, sendBind, sendBind, sendCancel, sendDone, sendHiccup, sendInprocConnected, sendOwn, sendPipeTerm, sendPipeTermAck, sendPlug, sendPlug, sendReap, sendReapAck, sendReaped, sendStop, sendTerm, sendTermAck, sendTermReq, setTid, unregisterEndpoint, unregisterEndpoints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface zmq.poll.IPollEvents
acceptEvent, connectEvent, outEvent, timerEvent
-
-
-
-
Constructor Detail
-
Dish
public Dish(Ctx parent, int tid, int sid)
-
-
Method Detail
-
xattachPipe
protected void xattachPipe(Pipe pipe, boolean subscribe2all, boolean isLocallyInitiated)
- Specified by:
xattachPipein classSocketBase
-
xreadActivated
protected void xreadActivated(Pipe pipe)
- Overrides:
xreadActivatedin classSocketBase
-
xwriteActivated
protected void xwriteActivated(Pipe pipe)
- Overrides:
xwriteActivatedin classSocketBase
-
xpipeTerminated
protected void xpipeTerminated(Pipe pipe)
- Specified by:
xpipeTerminatedin classSocketBase
-
xhiccuped
protected void xhiccuped(Pipe pipe)
- Overrides:
xhiccupedin classSocketBase
-
xjoin
protected boolean xjoin(java.lang.String group)
- Overrides:
xjoinin classSocketBase
-
xleave
protected boolean xleave(java.lang.String group)
- Overrides:
xleavein classSocketBase
-
xsend
protected boolean xsend(Msg msg)
- Overrides:
xsendin classSocketBase
-
xrecv
protected Msg xrecv()
- Overrides:
xrecvin classSocketBase
-
xxrecv
private Msg xxrecv()
-
xhasIn
protected boolean xhasIn()
- Overrides:
xhasInin classSocketBase
-
xhasOut
protected boolean xhasOut()
- Overrides:
xhasOutin classSocketBase
-
sendSubscriptions
private void sendSubscriptions(Pipe pipe)
-
-