Top Description Inners Methods
org.glassfish.grizzly

public Interface TransportProbe

Known Direct Implementers
org.glassfish.grizzly.TransportProbe.Adapter

Monitoring probe providing callbacks that may be invoked by Grizzly Transport implementations.
Author
Alexey Stashok
Since
2.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
TransportProbe.Adapter

TransportProbe adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.

Method Summary

Modifier and TypeMethod and Description
public void
onBeforePauseEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called before pausing the Transport.

public void
onBeforeResumeEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called before resuming the Transport.

public void
onBeforeStartEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called before starting the Transport.

public void
onBeforeStopEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called before stopping the Transport.

public void
onConfigChangeEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called, when the Transport configuration gets changed.

public void
onErrorEvent(Transport
Transport, the event belongs to.
transport
,
Throwable
error
error
)

Method will be called, when error occurs on the Transport.

public void
onPauseEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called when the Transport is paused.

public void
onResumeEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called, when the Transport gets resumed.

public void
onStartEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called when the Transport has been started.

public void
onStopEvent(Transport
Transport, the event belongs to.
transport
)

Method will be called when the Transport has been stopped.

Method Detail

onBeforePauseEventback to summary
public void onBeforePauseEvent(Transport transport)

Method will be called before pausing the Transport.

Parameters
transport:Transport

Transport, the event belongs to.

Since
3.0
onBeforeResumeEventback to summary
public void onBeforeResumeEvent(Transport transport)

Method will be called before resuming the Transport.

Parameters
transport:Transport

Transport, the event belongs to.

Since
3.0
onBeforeStartEventback to summary
public void onBeforeStartEvent(Transport transport)

Method will be called before starting the Transport.

Parameters
transport:Transport

Transport, the event belongs to.

Since
3.0
onBeforeStopEventback to summary
public void onBeforeStopEvent(Transport transport)

Method will be called before stopping the Transport.

Parameters
transport:Transport

Transport, the event belongs to.

Since
3.0
onConfigChangeEventback to summary
public void onConfigChangeEvent(Transport transport)

Method will be called, when the Transport configuration gets changed.

Parameters
transport:Transport

Transport, the event belongs to.

onErrorEventback to summary
public void onErrorEvent(Transport transport, Throwable error)

Method will be called, when error occurs on the Transport.

Parameters
transport:Transport

Transport, the event belongs to.

error:Throwable

error

onPauseEventback to summary
public void onPauseEvent(Transport transport)

Method will be called when the Transport is paused.

Parameters
transport:Transport

Transport, the event belongs to.

onResumeEventback to summary
public void onResumeEvent(Transport transport)

Method will be called, when the Transport gets resumed.

Parameters
transport:Transport

Transport, the event belongs to.

onStartEventback to summary
public void onStartEvent(Transport transport)

Method will be called when the Transport has been started.

Parameters
transport:Transport

Transport, the event belongs to.

onStopEventback to summary
public void onStopEvent(Transport transport)

Method will be called when the Transport has been stopped.

Parameters
transport:Transport

Transport, the event belongs to.

org.glassfish.grizzly back to summary

public Class TransportProbe.Adapter

extends Object
implements TransportProbe
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.TransportProbe
Annotations
@SuppressWarnings:UnusedDeclaration

TransportProbe adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.
Since
2.1.9

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
onBeforePauseEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforePauseEvent.

Method will be called before pausing the Transport.

public void
onBeforeResumeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeResumeEvent.

Method will be called before resuming the Transport.

public void
onBeforeStartEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeStartEvent.

Method will be called before starting the Transport.

public void
onBeforeStopEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeStopEvent.

Method will be called before stopping the Transport.

public void
onConfigChangeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onConfigChangeEvent.

Method will be called, when the Transport configuration gets changed.

public void
onErrorEvent(Transport transport, Throwable error)

Implements org.glassfish.grizzly.TransportProbe.onErrorEvent.

Method will be called, when error occurs on the Transport.

public void
onPauseEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onPauseEvent.

Method will be called when the Transport is paused.

public void
onResumeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onResumeEvent.

Method will be called, when the Transport gets resumed.

public void
onStartEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onStartEvent.

Method will be called when the Transport has been started.

public void
onStopEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onStopEvent.

Method will be called when the Transport has been stopped.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Adapterback to summary
public Adapter()

Method Detail

onBeforePauseEventback to summary
public void onBeforePauseEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforePauseEvent.

Doc from org.glassfish.grizzly.TransportProbe.onBeforePauseEvent.

Method will be called before pausing the Transport.

Annotations
@Override
onBeforeResumeEventback to summary
public void onBeforeResumeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeResumeEvent.

Doc from org.glassfish.grizzly.TransportProbe.onBeforeResumeEvent.

Method will be called before resuming the Transport.

Annotations
@Override
onBeforeStartEventback to summary
public void onBeforeStartEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeStartEvent.

Doc from org.glassfish.grizzly.TransportProbe.onBeforeStartEvent.

Method will be called before starting the Transport.

Annotations
@Override
onBeforeStopEventback to summary
public void onBeforeStopEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onBeforeStopEvent.

Doc from org.glassfish.grizzly.TransportProbe.onBeforeStopEvent.

Method will be called before stopping the Transport.

Annotations
@Override
onConfigChangeEventback to summary
public void onConfigChangeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onConfigChangeEvent.

Doc from org.glassfish.grizzly.TransportProbe.onConfigChangeEvent.

Method will be called, when the Transport configuration gets changed.

Annotations
@Override
onErrorEventback to summary
public void onErrorEvent(Transport transport, Throwable error)

Implements org.glassfish.grizzly.TransportProbe.onErrorEvent.

Doc from org.glassfish.grizzly.TransportProbe.onErrorEvent.

Method will be called, when error occurs on the Transport.

Annotations
@Override
onPauseEventback to summary
public void onPauseEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onPauseEvent.

Doc from org.glassfish.grizzly.TransportProbe.onPauseEvent.

Method will be called when the Transport is paused.

Annotations
@Override
onResumeEventback to summary
public void onResumeEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onResumeEvent.

Doc from org.glassfish.grizzly.TransportProbe.onResumeEvent.

Method will be called, when the Transport gets resumed.

Annotations
@Override
onStartEventback to summary
public void onStartEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onStartEvent.

Doc from org.glassfish.grizzly.TransportProbe.onStartEvent.

Method will be called when the Transport has been started.

Annotations
@Override
onStopEventback to summary
public void onStopEvent(Transport transport)

Implements org.glassfish.grizzly.TransportProbe.onStopEvent.

Doc from org.glassfish.grizzly.TransportProbe.onStopEvent.

Method will be called when the Transport has been stopped.

Annotations
@Override