com.sun.grizzly.standalone.framework
Class Main

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

public class Main
extends 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 Logger logger
           
 
Constructor Summary
Main()
           
 
Method Summary
static void main(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 Logger logger
Constructor Detail

Main

public Main()
Method Detail

main

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


Copyright © 2013 Oracle Corporation. All Rights Reserved.