net.anotheria.net.tcp.server.object2object
Class O2OConnection
java.lang.Object
net.anotheria.net.shared.server.AbstractConnection
net.anotheria.net.tcp.server.AbstractTCPConnection
net.anotheria.net.tcp.server.object2object.O2OConnection
- All Implemented Interfaces:
- Runnable, IConnection
public class O2OConnection
- extends AbstractTCPConnection
A connection to exchange objects via an underlying tcp connection.
- Author:
- lrosenberg
|
Method Summary |
boolean |
isKeepAlive()
Returns the value of the keepalive attribute. |
void |
run()
|
void |
setKeepAlive(boolean aKeepAlive)
Sets the value of the keepalive attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
public void run()
isKeepAlive
public boolean isKeepAlive()
- Returns the value of the keepalive attribute.
- Returns:
- true if the connection should be keepalived between requests.
setKeepAlive
public void setKeepAlive(boolean aKeepAlive)
- Sets the value of the keepalive attribute.
- Parameters:
keepAlive - the new value to set.
Copyright © 2010-2013 anotheria.net. All Rights Reserved.