public interface CoreRemotingConnection extends RemotingConnection
Modifier and Type | Method and Description |
---|---|
void |
checkFlushBatchBuffer()
Called periodically to flush any data in the batch buffer
|
long |
generateChannelID()
generate a unique (within this connection) channel id
|
long |
getBlockingCallTimeout()
return the current tomeout for blocking calls
|
Channel |
getChannel(long channelID,
int confWindowSize)
return the channel with the channel id specified.
|
int |
getClientVersion()
The client protocol used on the communication.
|
HornetQPrincipal |
getDefaultHornetQPrincipal()
get the default security principal for invm
|
long |
getIDGeneratorSequence()
return the next id that will be chosen.
|
Object |
getTransferLock()
return the transfer lock used when transferring connections.
|
void |
putChannel(long channelID,
Channel channel)
add the channel with the specified channel id
|
boolean |
removeChannel(long channelID)
remove the channel with the specified channel id
|
void |
setClientVersion(int clientVersion)
The client protocol used on the communication.
|
void |
syncIDGeneratorSequence(long id)
resets the id generator used to when generating id's
|
addCloseListener, addFailureListener, checkDataReceived, createBuffer, destroy, disconnect, fail, flush, getCreationTime, getFailureListeners, getID, getRemoteAddress, getTransportConnection, isClient, isDestroyed, removeCloseListener, removeCloseListeners, removeFailureListener, removeFailureListeners, setCloseListeners, setFailureListeners
bufferReceived
int getClientVersion()
void setClientVersion(int clientVersion)
Channel getChannel(long channelID, int confWindowSize)
channelID
- the channel idconfWindowSize
- the confirmation window sizevoid putChannel(long channelID, Channel channel)
channelID
- the channel idchannel
- the channelboolean removeChannel(long channelID)
channelID
- the channel idlong generateChannelID()
void syncIDGeneratorSequence(long id)
id
- the first id to set it tolong getIDGeneratorSequence()
long getBlockingCallTimeout()
Object getTransferLock()
void checkFlushBatchBuffer()
HornetQPrincipal getDefaultHornetQPrincipal()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.