|
|||||||||
| 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.AuthenticatedConnection
org.alliance.core.comm.filetransfers.TransferConnection
public abstract class TransferConnection
Created by IntelliJ IDEA. User: maciek Date: 2006-jan-25 Time: 14:02:42
| Nested Class Summary | |
|---|---|
static class |
TransferConnection.Command
|
static class |
TransferConnection.Mode
|
static class |
TransferConnection.TransferDirection
|
| Nested classes/interfaces inherited from class org.alliance.core.comm.Connection |
|---|
Connection.Direction |
| Field Summary | |
|---|---|
protected TransferConnection.Mode |
mode
|
| Fields inherited from class org.alliance.core.comm.AuthenticatedConnection |
|---|
remoteUserGUID |
| Fields inherited from class org.alliance.core.comm.Connection |
|---|
bandwidthIn, bandwidthOut, bytesReceived, bytesSent, connected, core, direction, hasWriteInterest, key, netMan, statusString |
| Constructor Summary | |
|---|---|
protected |
TransferConnection(NetworkManager netMan,
Connection.Direction direction)
|
protected |
TransferConnection(NetworkManager netMan,
Connection.Direction direction,
int userGUID)
|
protected |
TransferConnection(NetworkManager netMan,
Connection.Direction direction,
java.lang.Object key)
|
protected |
TransferConnection(NetworkManager netMan,
java.lang.Object key,
Connection.Direction direction,
int userGUID)
|
| Method Summary | |
|---|---|
abstract Hash |
getRoot()
|
protected void |
sendCommand(TransferConnection.Command cmd)
|
protected void |
switchMode(TransferConnection.Mode m)
|
| Methods inherited from class org.alliance.core.comm.AuthenticatedConnection |
|---|
getRemoteFriend, getRemoteUserGUID, getSocketAddress, init, newInstance, sendConnectionIdentifier, setRemoteUserGUID, toString |
| Methods inherited from class org.alliance.core.comm.PacketConnection |
|---|
getLastPacketSentAt, getPacketsReceived, packetReceived, readyToSend, received, send |
| Methods inherited from class org.alliance.core.comm.Connection |
|---|
bytesReceived, bytesSent, close, getBandwidthIn, getBandwidthOut, getBytesReceived, getBytesSent, getConnectionId, getConnectionIdForRemote, getDirection, getKey, getNetMan, getStatusString, hasWriteInterest, isConnected, setHasWriteInterest, setKey, setStatusString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected TransferConnection.Mode mode
| Constructor Detail |
|---|
protected TransferConnection(NetworkManager netMan,
Connection.Direction direction)
protected TransferConnection(NetworkManager netMan,
Connection.Direction direction,
java.lang.Object key)
protected TransferConnection(NetworkManager netMan,
java.lang.Object key,
Connection.Direction direction,
int userGUID)
protected TransferConnection(NetworkManager netMan,
Connection.Direction direction,
int userGUID)
| Method Detail |
|---|
public abstract Hash getRoot()
protected void sendCommand(TransferConnection.Command cmd)
throws java.io.IOException
java.io.IOExceptionprotected void switchMode(TransferConnection.Mode m)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||