|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alliance.core.comm.Connection
org.alliance.core.comm.PacketConnection
org.alliance.core.comm.HandshakeConnection
public class HandshakeConnection
Created by IntelliJ IDEA. User: maciek Date: 2005-dec-26 Time: 11:56:47 To change this template use File | Settings | File Templates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.alliance.core.comm.Connection |
|---|
Connection.Direction |
| Field Summary | |
|---|---|
static int |
MAX_UPGRADEUPLOAD_CONNECTIONS
|
| Fields inherited from class org.alliance.core.comm.Connection |
|---|
bandwidthIn, bandwidthOut, bytesReceived, bytesSent, connected, core, direction, hasWriteInterest, key, netMan, statusString |
| Constructor Summary | |
|---|---|
HandshakeConnection(NetworkManager netMan,
java.lang.Object key)
|
|
| Method Summary | |
|---|---|
protected int |
getConnectionId()
|
void |
packetReceived(Packet p)
|
| Methods inherited from class org.alliance.core.comm.PacketConnection |
|---|
getLastPacketSentAt, getPacketsReceived, init, readyToSend, received, send |
| Methods inherited from class org.alliance.core.comm.Connection |
|---|
bytesReceived, bytesSent, close, getBandwidthIn, getBandwidthOut, getBytesReceived, getBytesSent, getConnectionIdForRemote, getDirection, getKey, getNetMan, getStatusString, hasWriteInterest, isConnected, setHasWriteInterest, setKey, setStatusString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_UPGRADEUPLOAD_CONNECTIONS
| Constructor Detail |
|---|
public HandshakeConnection(NetworkManager netMan,
java.lang.Object key)
| Method Detail |
|---|
public void packetReceived(Packet p)
throws java.io.IOException
packetReceived in class PacketConnectionjava.io.IOExceptionprotected int getConnectionId()
getConnectionId in class Connection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||