com.sun.grizzly.standalone.framework
Class Example_1_Client
java.lang.Object
com.sun.grizzly.standalone.framework.Example_1_Client
public class Example_1_Client
- 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.
This Example_1_Server goes in pair with this Example_1_Client
- Version:
- 1.0
- Author:
- John Vieten 21.06.2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Logger logger
Example_1_Client
public Example_1_Client(String name,
CountDownLatch finishedLatch)
Example_1_Client
public Example_1_Client(String name,
CountDownLatch finishedLatch,
SSLConfig sslConfig)
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
write
public void write(Object[] params,
OutputStream stream)
throws IOException
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.