|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelStateService
| Field Summary | |
|---|---|
static int |
ACTIVE
Define the active (int) constant. |
static int |
CLOSING
Define the closing (int) constant. |
static int |
DEAD
Define the dead (int) constant. |
static int |
INACTIVE
Define the inactive (int) constant. |
static int |
KEEP_ALIVE
Define the keep alive (int) constant. |
static int |
RECONNECT
Define the reconnect (int) constant. |
static int |
WAIT_FOR_RESPONSE
Define the wait for response (int) constant. |
| Method Summary | |
|---|---|
void |
addSendData(SendDataService sendData)
Add message to be sent with the specified data parameter. |
void |
decrementPendingResponseCount()
Decrease pending response count. |
byte[] |
getBuffer()
Gets the buffer (byte[]) value. |
ChannelService |
getChannel()
Gets the channel (ChannelService) value. |
int |
getErrorCount()
Gets the error count (int) value. |
int |
getInputMessageCount()
Gets the input message count (int) value. |
SendDataService |
getLastSendData()
Gets the last send data (SendDataService) value. |
ChannelStateService |
getNext()
Gets the next (ChannelStateService) value. |
SendDataService |
getNextSendData()
Gets the next send data (SendDataService) value. |
int |
getOffset()
Gets the offset (int) value. |
int |
getPendingResponseCount()
Gets the pending response count (int) value. |
ChannelStateService |
getPrevious()
Gets the previous (ChannelStateService) value. |
int |
getSentMessageCount()
Gets the sent message count (int) value. |
int |
getState()
Gets the state (int) value. |
long |
getTimeout()
Gets the timeout (long) value. |
void |
incrementPendingResponseCount()
Increase pending response count. |
int |
incrementRetryCount()
Update retry count and return the int result. |
void |
setBuffer(byte[] newBuffer)
Sets the buffer value. |
void |
setErrorCount(int errorCount)
Sets the error count value. |
void |
setInputMessageCount(int inputMessageCount)
Sets the input message count value. |
void |
setLastSendData(SendDataService sendData)
Sets the last send data value. |
void |
setNext(ChannelStateService next)
Sets the next value. |
void |
setOffset(int offset)
Sets the offset value. |
void |
setPrevious(ChannelStateService previous)
Sets the previous value. |
void |
setRetryCount(int i)
Sets the retry count value. |
void |
setSentMessageCount(int sentMessageCount)
Sets the sent message count value. |
void |
setState(int dead)
Sets the state value. |
void |
setTimeout(long time)
Sets the timeout value. |
void |
updateErrorCount()
Update error count. |
int |
updateInputMessageCount()
Update input message count and return the int result. |
void |
updateSentMessageCount()
Update sent message count. |
| Field Detail |
|---|
static final int ACTIVE
static final int KEEP_ALIVE
static final int INACTIVE
static final int WAIT_FOR_RESPONSE
static final int RECONNECT
static final int CLOSING
static final int DEAD
| Method Detail |
|---|
void addSendData(SendDataService sendData)
sendData - The send data (SendDataService) parameter.getLastSendData(),
getNextSendData(),
setLastSendData(SendDataService)void decrementPendingResponseCount()
getPendingResponseCount(),
incrementPendingResponseCount()byte[] getBuffer()
byte[]) value.setBuffer(byte[])ChannelService getChannel()
ChannelService) value.int getErrorCount()
int) value.setErrorCount(int),
updateErrorCount()int getInputMessageCount()
int) value.setInputMessageCount(int),
updateInputMessageCount()SendDataService getLastSendData()
SendDataService) value.setLastSendData(SendDataService)ChannelStateService getNext()
ChannelStateService) value.setNext(ChannelStateService)SendDataService getNextSendData()
SendDataService) value.int getOffset()
int) value.setOffset(int)int getPendingResponseCount()
int) value.decrementPendingResponseCount(),
incrementPendingResponseCount()ChannelStateService getPrevious()
ChannelStateService) value.setPrevious(ChannelStateService)int getSentMessageCount()
int) value.setSentMessageCount(int),
updateSentMessageCount()int getState()
int) value.setState(int)long getTimeout()
long) value.setTimeout(long)void incrementPendingResponseCount()
decrementPendingResponseCount(),
getPendingResponseCount()int incrementRetryCount()
int) value.setRetryCount(int)void setBuffer(byte[] newBuffer)
newBuffer - The new buffer (byte[]) parameter.getBuffer()void setErrorCount(int errorCount)
errorCount - The error count (int) parameter.getErrorCount(),
updateErrorCount()void setInputMessageCount(int inputMessageCount)
inputMessageCount - The input message count (int) parameter.getInputMessageCount(),
updateInputMessageCount()void setLastSendData(SendDataService sendData)
sendData - The send data (SendDataService) parameter.getLastSendData()void setNext(ChannelStateService next)
next - The next (ChannelStateService) parameter.getNext()void setOffset(int offset)
offset - The offset (int) parameter.getOffset()void setPrevious(ChannelStateService previous)
previous - The previous (ChannelStateService) parameter.getPrevious()void setRetryCount(int i)
i - The i (int) parameter.incrementRetryCount()void setSentMessageCount(int sentMessageCount)
sentMessageCount - The sent message count (int) parameter.getSentMessageCount(),
updateSentMessageCount()void setState(int dead)
dead - The dead (int) parameter.getState()void setTimeout(long time)
time - The time (long) parameter.getTimeout()void updateErrorCount()
getErrorCount(),
setErrorCount(int)int updateInputMessageCount()
int) value.getInputMessageCount(),
setInputMessageCount(int)void updateSentMessageCount()
getSentMessageCount(),
setSentMessageCount(int)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||