org.jboss.messaging.core.client
Interface ClientConnection
- All Known Subinterfaces:
- ClientConnectionInternal
- All Known Implementing Classes:
- ClientConnectionImpl
public interface ClientConnection
- Author:
- Tim Fox, Clebert Suconic
createClientSession
ClientSession createClientSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
int ackBatchSize,
boolean blockOnAcknowledge,
boolean cacheProducers)
throws MessagingException
- Throws:
MessagingException
createClientSession
ClientSession createClientSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
int ackBatchSize)
throws MessagingException
- Throws:
MessagingException
start
void start()
throws MessagingException
- Throws:
MessagingException
stop
void stop()
throws MessagingException
- Throws:
MessagingException
setRemotingSessionListener
void setRemotingSessionListener(RemotingSessionListener listener)
throws MessagingException
- Throws:
MessagingException
close
void close()
throws MessagingException
- Throws:
MessagingException
isClosed
boolean isClosed()
getServerVersion
Version getServerVersion()
Copyright © 2006 JBoss Inc. All Rights Reserved.