Class CustomStrategy

java.lang.Object
org.glassfish.grizzly.samples.strategy.CustomStrategy

public class CustomStrategy extends Object
Sample shows how easy custom IOStrategy could be applied for a Transport. In this example we use LeaderFollowerNIOStrategy for processing all I/O events occurring on Connection. To test this echo server you can use EchoClient.
Author:
Alexey Stashok
See Also:
  • IOStrategy
  • LeaderFollowerNIOStrategy
  • SameThreadIOStrategy
  • WorkerThreadIOStrategy
  • SimpleDynamicNIOStrategy