com.espertech.esper.core.start
Class EPStatementStartResult

java.lang.Object
  extended by com.espertech.esper.core.start.EPStatementStartResult

public class EPStatementStartResult
extends java.lang.Object

Result holder returned by @{link EPStatementStartMethod}.


Constructor Summary
EPStatementStartResult(Viewable viewable, EPStatementStopMethod stopMethod)
          Ctor.
EPStatementStartResult(Viewable viewable, EPStatementStopMethod stopMethod, EPStatementDestroyMethod destroyMethod)
          Ctor.
 
Method Summary
 EPStatementDestroyMethod getDestroyMethod()
          Returns destroy method.
 EPStatementStopMethod getStopMethod()
          Returns stop method.
 Viewable getViewable()
          Returns last view to attached to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPStatementStartResult

public EPStatementStartResult(Viewable viewable,
                              EPStatementStopMethod stopMethod)
Ctor.

Parameters:
viewable - last view to attach listeners to
stopMethod - method to stop

EPStatementStartResult

public EPStatementStartResult(Viewable viewable,
                              EPStatementStopMethod stopMethod,
                              EPStatementDestroyMethod destroyMethod)
Ctor.

Parameters:
viewable - last view to attach listeners to
stopMethod - method to stop
destroyMethod - method to call when destroying
Method Detail

getViewable

public Viewable getViewable()
Returns last view to attached to.

Returns:
view

getStopMethod

public EPStatementStopMethod getStopMethod()
Returns stop method.

Returns:
stop method.

getDestroyMethod

public EPStatementDestroyMethod getDestroyMethod()
Returns destroy method.

Returns:
destroy method

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com