org.glassfish.grizzly.portunif
Interface ProtocolFinder

All Known Implementing Classes:
SSLProtocolFinder

public interface ProtocolFinder

General interface for protocol finders, responsible to figure out, whether incoming bytes belong to the specific protocol.

Author:
Alexey Stashok

Nested Class Summary
static class ProtocolFinder.Result
           
 
Method Summary
 ProtocolFinder.Result find(PUContext puContext, FilterChainContext ctx)
          Method is called from PUFilter to check whether the incoming bytes belong to the specific protocol.
 

Method Detail

find

ProtocolFinder.Result find(PUContext puContext,
                           FilterChainContext ctx)
Method is called from PUFilter to check whether the incoming bytes belong to the specific protocol.

Parameters:
puContext - PUContext
ctx - FilterChainContext
Returns:
ProtocolFinder.Result


Copyright © 2011 Oracle Corpration. All Rights Reserved.