|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopenr66.protocol.localhandler.LocalTransaction
public class LocalTransaction
This class handles Local Transaction connections
Constructor Summary | |
---|---|
LocalTransaction()
Constructor |
Method Summary | |
---|---|
void |
closeAll()
Close All Local Channels |
void |
closeLocalChannelsFromNetworkChannel(org.jboss.netty.channel.Channel networkChannel)
Close all Local Channels from the NetworkChannel |
LocalChannelReference |
createNewClient(org.jboss.netty.channel.Channel networkChannel,
Integer remoteId,
R66Future futureRequest)
Create a new Client |
void |
debugPrintActiveLocalChannels()
Debug function (while shutdown for instance) |
LocalChannelReference |
getClient(Integer remoteId,
Integer localId)
Get the corresponding LocalChannelReference |
LocalChannelReference |
getFromId(Integer id)
|
LocalChannelReference |
getFromRequest(String key)
|
int |
getNumberLocalChannel()
|
void |
remove(org.jboss.netty.channel.Channel channel)
Remove one local channel |
void |
setFromId(DbTaskRunner runner,
LocalChannelReference lcr)
|
void |
shutdownLocalChannels()
Informs all remote client that the server is shutting down |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalTransaction()
Method Detail |
---|
public LocalChannelReference getClient(Integer remoteId, Integer localId) throws OpenR66ProtocolSystemException
remoteId
- localId
-
OpenR66ProtocolSystemException
public LocalChannelReference createNewClient(org.jboss.netty.channel.Channel networkChannel, Integer remoteId, R66Future futureRequest) throws OpenR66ProtocolSystemException
networkChannel
- remoteId
- futureRequest
-
OpenR66ProtocolSystemException
public LocalChannelReference getFromId(Integer id)
id
-
public void remove(org.jboss.netty.channel.Channel channel)
channel
- public void setFromId(DbTaskRunner runner, LocalChannelReference lcr)
runner
- lcr
- public LocalChannelReference getFromRequest(String key)
key
- as "requested requester specialId"
public int getNumberLocalChannel()
public void closeLocalChannelsFromNetworkChannel(org.jboss.netty.channel.Channel networkChannel)
networkChannel
- public void debugPrintActiveLocalChannels()
public void shutdownLocalChannels()
public void closeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |