Package zmq
Class ZObject
- java.lang.Object
-
- zmq.ZObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IOThreadchooseIoThread(long affinity)protected voidconnectPending(java.lang.String addr, SocketBase bindSocket)protected voiddestroySocket(SocketBase socket)protected Ctx.EndpointfindEndpoint(java.lang.String addr)protected CtxgetCtx()intgetTid()protected voidpendConnection(java.lang.String addr, Ctx.Endpoint endpoint, Pipe[] pipes)protected voidprocessActivateRead()protected voidprocessActivateWrite(long msgsRead)protected voidprocessAttach(IEngine engine)protected voidprocessBind(Pipe pipe)protected voidprocessCancel()(package private) voidprocessCommand(Command cmd)protected voidprocessHiccup(YPipeBase<Msg> hiccupPipe)protected voidprocessOwn(Own object)protected voidprocessPipeTerm()protected voidprocessPipeTermAck()protected voidprocessPlug()protected voidprocessReap(SocketBase socket)protected voidprocessReapAck()protected voidprocessReaped()protected voidprocessSeqnum()protected voidprocessStop()protected voidprocessTerm(int linger)protected voidprocessTermAck()protected voidprocessTermReq(Own object)protected booleanregisterEndpoint(java.lang.String addr, Ctx.Endpoint endpoint)protected voidsendActivateRead(Pipe destination)protected voidsendActivateWrite(Pipe destination, long msgsRead)protected voidsendAttach(SessionBase destination, IEngine engine)protected voidsendAttach(SessionBase destination, IEngine engine, boolean incSeqnum)protected voidsendBind(Own destination, Pipe pipe)protected voidsendBind(Own destination, Pipe pipe, boolean incSeqnum)protected voidsendCancel()private voidsendCommand(Command cmd)protected voidsendDone()protected voidsendHiccup(Pipe destination, YPipeBase<Msg> pipe)protected voidsendInprocConnected(SocketBase socket)protected voidsendOwn(Own destination, Own object)protected voidsendPipeTerm(Pipe destination)protected voidsendPipeTermAck(Pipe destination)protected voidsendPlug(Own destination)protected voidsendPlug(Own destination, boolean incSeqnum)protected voidsendReap(SocketBase socket)protected voidsendReapAck()protected voidsendReaped()protected voidsendStop()protected voidsendTerm(Own destination, int linger)protected voidsendTermAck(Own destination)protected voidsendTermReq(Own destination, Own object)protected voidsetTid(int tid)protected booleanunregisterEndpoint(java.lang.String addr, SocketBase socket)protected voidunregisterEndpoints(SocketBase socket)
-
-
-
Field Detail
-
ctx
private final Ctx ctx
-
tid
private int tid
-
-
Method Detail
-
getTid
public final int getTid()
-
setTid
protected final void setTid(int tid)
-
getCtx
protected final Ctx getCtx()
-
processCommand
final void processCommand(Command cmd)
-
registerEndpoint
protected final boolean registerEndpoint(java.lang.String addr, Ctx.Endpoint endpoint)
-
unregisterEndpoint
protected final boolean unregisterEndpoint(java.lang.String addr, SocketBase socket)
-
unregisterEndpoints
protected final void unregisterEndpoints(SocketBase socket)
-
findEndpoint
protected final Ctx.Endpoint findEndpoint(java.lang.String addr)
-
pendConnection
protected final void pendConnection(java.lang.String addr, Ctx.Endpoint endpoint, Pipe[] pipes)
-
connectPending
protected final void connectPending(java.lang.String addr, SocketBase bindSocket)
-
destroySocket
protected final void destroySocket(SocketBase socket)
-
chooseIoThread
protected final IOThread chooseIoThread(long affinity)
-
sendStop
protected final void sendStop()
-
sendPlug
protected final void sendPlug(Own destination)
-
sendPlug
protected final void sendPlug(Own destination, boolean incSeqnum)
-
sendAttach
protected final void sendAttach(SessionBase destination, IEngine engine)
-
sendAttach
protected final void sendAttach(SessionBase destination, IEngine engine, boolean incSeqnum)
-
sendActivateRead
protected final void sendActivateRead(Pipe destination)
-
sendActivateWrite
protected final void sendActivateWrite(Pipe destination, long msgsRead)
-
sendPipeTerm
protected final void sendPipeTerm(Pipe destination)
-
sendPipeTermAck
protected final void sendPipeTermAck(Pipe destination)
-
sendTerm
protected final void sendTerm(Own destination, int linger)
-
sendTermAck
protected final void sendTermAck(Own destination)
-
sendReap
protected final void sendReap(SocketBase socket)
-
sendReapAck
protected final void sendReapAck()
-
sendReaped
protected final void sendReaped()
-
sendInprocConnected
protected final void sendInprocConnected(SocketBase socket)
-
sendDone
protected final void sendDone()
-
sendCancel
protected final void sendCancel()
-
processStop
protected void processStop()
-
processPlug
protected void processPlug()
-
processOwn
protected void processOwn(Own object)
-
processAttach
protected void processAttach(IEngine engine)
-
processBind
protected void processBind(Pipe pipe)
-
processActivateRead
protected void processActivateRead()
-
processActivateWrite
protected void processActivateWrite(long msgsRead)
-
processPipeTerm
protected void processPipeTerm()
-
processPipeTermAck
protected void processPipeTermAck()
-
processTermReq
protected void processTermReq(Own object)
-
processTerm
protected void processTerm(int linger)
-
processTermAck
protected void processTermAck()
-
processReap
protected void processReap(SocketBase socket)
-
processReapAck
protected void processReapAck()
-
processReaped
protected void processReaped()
-
processSeqnum
protected void processSeqnum()
-
processCancel
protected void processCancel()
-
sendCommand
private void sendCommand(Command cmd)
-
-