com.croftsoft.apps.client
Class ClientNet
java.lang.Object
com.croftsoft.apps.client.ClientNet
- All Implemented Interfaces:
- Commissionable, Destroyable, Initializable, Lifecycle, Resumable, Startable, Stoppable, Loopable
public final class ClientNet
- extends Object
- implements Lifecycle, Loopable
Network communications.
- Since:
- 2006-10-30
- Version:
- $Id: ClientNet.java,v 1.7 2006/12/16 05:05:27 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientNet
public ClientNet(ClientConfig clientConfig,
BlockingQueue<ClientMessage> netQueue,
Queue<ClientMessage> modelQueue)
init
public void init()
- Specified by:
init
in interface Initializable
start
public void start()
- Specified by:
start
in interface Startable
stop
public void stop()
- Specified by:
stop
in interface Stoppable
destroy
public void destroy()
- Specified by:
destroy
in interface Destroyable
loop
public boolean loop()
- Specified by:
loop
in interface Loopable
- Returns:
- False if looping should stop.
CroftSoft Apps Javadoc (2008-09-28 21:15:07)