com.sun.grizzly.standalone.framework
Class Example_1_Server

java.lang.Object
  extended by com.sun.grizzly.standalone.framework.Example_1_Server

public class Example_1_Server
extends Object

An example of How-To write a "Custom Protocol" with Grizzly. Just shows an simple Example of how the CustomProtocol Layer can be used to transfer serialized java Objects. The Example_1_Server goes in pair with Example_1_Client

Version:
1.0
Author:
John Vieten 21.06.2008

Nested Class Summary
static class Example_1_Server.Call
           
 
Field Summary
protected static Logger logger
           
static int PORT
           
 
Constructor Summary
Example_1_Server()
           
Example_1_Server(SSLConfig sslConfig)
           
 
Method Summary
 void init()
           
static void main(String[] args)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values

logger

protected static Logger logger
Constructor Detail

Example_1_Server

public Example_1_Server()

Example_1_Server

public Example_1_Server(SSLConfig sslConfig)
Method Detail

init

public void init()

start

public void start()

stop

public void stop()

main

public static void main(String[] args)


Copyright © 2012 Oracle Corporation. All Rights Reserved.