|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.session.ClientSessionImpl.SendEvent
static class ClientSessionImpl.SendEvent
A client session 'send' event, enqueued by a ClientSession.send invocation. When this event commits, a task is
scheduled to deliver the message, specified during construction, to
the client session.
| Field Summary | |
|---|---|
(package private) Delivery |
delivery
|
(package private) byte[] |
message
|
| Constructor Summary | |
|---|---|
ClientSessionImpl.SendEvent(byte[] message,
Delivery delivery)
Constructs a send event with the given message. |
|
| Method Summary | |
|---|---|
(package private) int |
getCost()
Use the message length as the cost for sending messages. |
(package private) void |
serviceEvent(com.sun.sgs.impl.service.session.ClientSessionImpl.EventQueue eventQueue,
ClientSessionServiceImpl sessionService,
ClientSessionHandler handler)
Services this event, taken from the head of the given eventQueue. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final byte[] message
final Delivery delivery
| Constructor Detail |
|---|
ClientSessionImpl.SendEvent(byte[] message,
Delivery delivery)
message.
| Method Detail |
|---|
void serviceEvent(com.sun.sgs.impl.service.session.ClientSessionImpl.EventQueue eventQueue,
ClientSessionServiceImpl sessionService,
ClientSessionHandler handler)
eventQueue.
int getCost()
public String toString()
toString in class Object
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||