Class SocksConnecter
java.lang.Object
zmq.ZObject
zmq.Own
zmq.io.net.tcp.TcpConnecter
zmq.io.net.tcp.SocksConnecter
- All Implemented Interfaces:
IPollEvents
-
Field Summary
Fields inherited from class TcpConnecter
delayedStart, ioObject, RECONNECT_TIMER_ID -
Constructor Summary
ConstructorsConstructorDescriptionSocksConnecter(IOThread ioThread, SessionBase session, Options options, Address addr, Address proxyAddr, boolean delayedStart) -
Method Summary
Modifier and TypeMethodDescriptionvoidinEvent()Called by I/O thread when file descriptor is ready for reading.voidoutEvent()Called by I/O thread when file descriptor is ready for writing.protected voidprotected voidprocessTerm(int linger) voidtimerEvent(int id) Called when timer expires.Methods inherited from class TcpConnecter
close, connectEvent, destroy, toStringMethods inherited from class Own
incSeqnum, isTerminating, launchChild, processDestroy, processOwn, processSeqnum, processTermAck, processTermReq, termChild, terminateMethods inherited from class ZObject
chooseIoThread, connectPending, destroySocket, findEndpoint, getCtx, getTid, pendConnection, processActivateRead, processActivateWrite, processAttach, processBind, processCancel, processHiccup, processPipeTerm, processPipeTermAck, processReap, processReapAck, processReaped, processStop, 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, unregisterEndpointsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IPollEvents
acceptEvent
-
Constructor Details
-
SocksConnecter
public SocksConnecter(IOThread ioThread, SessionBase session, Options options, Address addr, Address proxyAddr, boolean delayedStart)
-
-
Method Details
-
processPlug
protected void processPlug()- Overrides:
processPlugin classTcpConnecter
-
processTerm
protected void processTerm(int linger) - Overrides:
processTermin classTcpConnecter
-
inEvent
public void inEvent()Description copied from interface:IPollEventsCalled by I/O thread when file descriptor is ready for reading.- Specified by:
inEventin interfaceIPollEvents- Overrides:
inEventin classTcpConnecter
-
outEvent
public void outEvent()Description copied from interface:IPollEventsCalled by I/O thread when file descriptor is ready for writing.- Specified by:
outEventin interfaceIPollEvents- Overrides:
outEventin classTcpConnecter
-
timerEvent
public void timerEvent(int id) Description copied from interface:IPollEventsCalled when timer expires.- Specified by:
timerEventin interfaceIPollEvents- Overrides:
timerEventin classTcpConnecter- Parameters:
id- the ID of the expired timer.
-