com.sun.grizzly.standalone.framework
Class Example_1_Server
java.lang.Object
com.sun.grizzly.standalone.framework.Example_1_Server
public class Example_1_Server
- extends java.lang.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
|
Field Summary |
protected static java.util.logging.Logger |
logger
|
static int |
PORT
|
|
Method Summary |
void |
init()
|
static void |
main(java.lang.String[] args)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT
public static final int PORT
- See Also:
- Constant Field Values
logger
protected static java.util.logging.Logger logger
Example_1_Server
public Example_1_Server()
Example_1_Server
public Example_1_Server(SSLConfig sslConfig)
init
public void init()
start
public void start()
stop
public void stop()
main
public static void main(java.lang.String[] args)
Copyright © 2011 Oracle Corporation. All Rights Reserved.