Package jade.imtp.leap
Class MicroStub
- java.lang.Object
-
- jade.imtp.leap.MicroStub
-
- Direct Known Subclasses:
BackEndStub,FrontEndStub
public class MicroStub extends Object
Class declaration- Author:
- Giovanni Caire - TILAB
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classMicroStub.PostponedCommand
-
Field Summary
Fields Modifier and Type Field Description protected Loggerloggerstatic longMINIMUM_TIMEOUTprotected DispatchermyDispatcherprotected VectorpendingCommands
-
Constructor Summary
Constructors Constructor Description MicroStub(Dispatcher d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadcheckFlush()voidendFlush()protected CommandexecuteRemotely(Command c, long timeout)booleanflush()protected voidhandlePostponedCommandExpired(Command c, ICPException exception)booleanisEmpty()
-
-
-
Field Detail
-
MINIMUM_TIMEOUT
public static final long MINIMUM_TIMEOUT
- See Also:
- Constant Field Values
-
myDispatcher
protected Dispatcher myDispatcher
-
pendingCommands
protected Vector pendingCommands
-
logger
protected Logger logger
-
-
Constructor Detail
-
MicroStub
public MicroStub(Dispatcher d)
-
-
Method Detail
-
executeRemotely
protected Command executeRemotely(Command c, long timeout) throws IMTPException
- Throws:
IMTPException
-
flush
public boolean flush()
-
checkFlush
public Thread checkFlush()
-
isEmpty
public boolean isEmpty()
-
handlePostponedCommandExpired
protected void handlePostponedCommandExpired(Command c, ICPException exception)
-
endFlush
public void endFlush()
-
-