|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Channel
TODO Add javadoc
| Method Summary | |
|---|---|
CloseFuture |
close(boolean immediately)
|
int |
getId()
|
Window |
getLocalWindow()
|
Session |
getSession()
|
void |
handleClose()
|
void |
handleData(Buffer buffer)
|
void |
handleEof()
|
void |
handleExtendedData(Buffer buffer)
|
void |
handleFailure()
|
void |
handleOpenFailure(Buffer buffer)
For a client channel, this method will be called internally by the session when the server has rejected this channel opening. |
void |
handleOpenSuccess(int recipient,
int rwsize,
int rmpsize,
Buffer buffer)
For a client channel, this method will be called internally by the session when the confirmation has been received. |
void |
handleRequest(Buffer buffer)
|
void |
handleWindowAdjust(Buffer buffer)
|
void |
init(Session session,
int id)
|
OpenFuture |
open(int recipient,
int rwsize,
int rmpsize,
Buffer buffer)
For a server channel, this method will actually open the channel |
| Method Detail |
|---|
int getId()
Window getLocalWindow()
Session getSession()
void handleClose()
throws java.io.IOException
java.io.IOException
void handleWindowAdjust(Buffer buffer)
throws java.io.IOException
java.io.IOException
void handleRequest(Buffer buffer)
throws java.io.IOException
java.io.IOException
void handleData(Buffer buffer)
throws java.io.IOException
java.io.IOException
void handleExtendedData(Buffer buffer)
throws java.io.IOException
java.io.IOException
void handleEof()
throws java.io.IOException
java.io.IOException
void handleFailure()
throws java.io.IOException
java.io.IOExceptionCloseFuture close(boolean immediately)
void init(Session session,
int id)
throws java.io.IOException
java.io.IOException
OpenFuture open(int recipient,
int rwsize,
int rmpsize,
Buffer buffer)
void handleOpenSuccess(int recipient,
int rwsize,
int rmpsize,
Buffer buffer)
throws java.io.IOException
java.io.IOException
void handleOpenFailure(Buffer buffer)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||