Package org.zeromq
Class ZBeacon.BroadcastServer
- java.lang.Object
-
- org.zeromq.ZBeacon.BroadcastServer
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- ZBeacon
private class ZBeacon.BroadcastServer extends java.lang.Object implements java.lang.RunnableThe broadcast server receives beacons.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.channels.DatagramChannelhandleprivate booleanignoreLocalAddressprivate booleanisRunningprivate java.lang.Threadthread
-
Constructor Summary
Constructors Constructor Description BroadcastServer(int port, boolean ignoreLocalAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidhandleMessage(java.nio.ByteBuffer buffer, java.net.InetAddress from)voidrun()
-