|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.examples.EchoServerExample
public class EchoServerExample
An really basic echo server that uses the utility methods from
DynamicCounter
| Nested Class Summary | |
|---|---|
static class |
EchoServerExample.AcceptTask
|
static class |
EchoServerExample.ClientTask
|
| Field Summary | |
|---|---|
static int |
DEFAULT_PORT
|
static Counter |
numRequests
|
| Constructor Summary | |
|---|---|
EchoServerExample(int port)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
shutdown()
|
void |
start()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PORT
public static final Counter numRequests
| Constructor Detail |
|---|
public EchoServerExample(int port)
| Method Detail |
|---|
public void start()
throws java.io.IOException
java.io.IOExceptionpublic void shutdown()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||