public interface MoldUDP64ClientStatusListener
Modifier and Type | Method and Description |
---|---|
void |
downstream(MoldUDP64Client session,
long sequenceNumber,
int messageCount)
Indicates that a downstream packet was processed successfully.
|
void |
endOfSession(MoldUDP64Client session)
Indicates that a downstream packet indicating the End of Session was
received.
|
void |
request(MoldUDP64Client session,
long sequenceNumber,
int requestedMessageCount)
Indicates that a request packet was sent.
|
void |
state(MoldUDP64Client session,
MoldUDP64ClientState next)
Indicates that the client state changed.
|
void state(MoldUDP64Client session, MoldUDP64ClientState next) throws IOException
session
- the sessionnext
- the new client stateIOException
- if an I/O error occursvoid downstream(MoldUDP64Client session, long sequenceNumber, int messageCount) throws IOException
session
- the sessionsequenceNumber
- the sequence numbermessageCount
- the message countIOException
- if an I/O error occursvoid request(MoldUDP64Client session, long sequenceNumber, int requestedMessageCount) throws IOException
session
- the sessionsequenceNumber
- the sequence numberrequestedMessageCount
- the requested message countIOException
- if an I/O error occursvoid endOfSession(MoldUDP64Client session) throws IOException
session
- the sessionIOException
- if an I/O error occursCopyright © 2017. All rights reserved.