com.sun.grizzly.standalone.framework
Class Main

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

public class Main
extends java.lang.Object

Simple TCP client server communication. Just shows how Custom Protocol can be used. In this example n clients will log into a server call a time cosuming server method and broadcast to other clients

Author:
Jeanfrancois Arcand

Field Summary
protected static java.util.logging.Logger logger
           
 
Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static java.util.logging.Logger logger
Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 Oracle Corporation. All Rights Reserved.