public class StompChannel
extends java.lang.Object
| Constructor and Description |
|---|
StompChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
ackMessage(org.fusesource.hawtbuf.AsciiBuffer consumerId,
org.fusesource.hawtbuf.AsciiBuffer messageId,
org.fusesource.hawtbuf.AsciiBuffer txid,
Promise<StompFrame> callback) |
void |
close() |
void |
commitTransaction(org.fusesource.hawtbuf.AsciiBuffer txid) |
void |
connect() |
CallbackConnection |
connection() |
StompChannel |
copy() |
java.lang.String |
getAckMode() |
java.net.URI |
getBrokerURI() |
java.lang.String |
getChannelId() |
java.lang.String |
getClientId() |
java.lang.String |
getConnectedHostId() |
java.lang.String |
getConnectedSessionId() |
long |
getDisconnectTimeout() |
StompJmsMessageListener |
getListener() |
java.net.URI |
getLocalURI() |
java.lang.String |
getPassword() |
StompServerAdaptor |
getServerAdaptor() |
java.lang.String |
getServerAndVersion() |
javax.net.ssl.SSLContext |
getSslContext() |
java.lang.String |
getUserName() |
boolean |
isOmitHost() |
boolean |
isStarted() |
org.fusesource.hawtbuf.AsciiBuffer |
nextId() |
void |
onFrame(StompFrame frame) |
void |
rollbackTransaction(org.fusesource.hawtbuf.AsciiBuffer txid) |
void |
sendFrame(StompFrame frame) |
void |
sendMessage(StompJmsMessage copy,
org.fusesource.hawtbuf.AsciiBuffer txid,
boolean sync) |
void |
sendRequest(StompFrame frame) |
void |
sendRequest(StompFrame frame,
Promise<StompFrame> future) |
org.fusesource.hawtbuf.AsciiBuffer |
sessionId() |
void |
setAckMode(java.lang.String ackMode) |
void |
setBrokerURI(java.net.URI brokerURI) |
void |
setChannelId(java.lang.String channelId) |
void |
setClientId(java.lang.String clientId) |
void |
setDisconnectTimeout(long disconnectTimeout) |
void |
setExceptionListener(javax.jms.ExceptionListener listener) |
void |
setListener(StompJmsMessageListener listener) |
void |
setLocalURI(java.net.URI localURI) |
void |
setOmitHost(boolean omitHost) |
void |
setPassword(java.lang.String password) |
void |
setSslContext(javax.net.ssl.SSLContext sslContext) |
void |
setUserName(java.lang.String userName) |
org.fusesource.hawtbuf.AsciiBuffer |
startTransaction() |
void |
subscribe(StompJmsDestination destination,
org.fusesource.hawtbuf.AsciiBuffer consumerId,
org.fusesource.hawtbuf.AsciiBuffer selector,
org.fusesource.hawtbuf.AsciiBuffer ackMode,
boolean noLocal,
boolean persistent,
boolean browser,
StompJmsPrefetch prefetch,
java.util.Map<org.fusesource.hawtbuf.AsciiBuffer,org.fusesource.hawtbuf.AsciiBuffer> headers) |
void |
unsubscribe(org.fusesource.hawtbuf.AsciiBuffer consumerId,
boolean persistent) |
public org.fusesource.hawtbuf.AsciiBuffer sessionId()
public CallbackConnection connection()
public StompChannel copy()
public void connect()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean isStarted()
public void close()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void sendMessage(StompJmsMessage copy, org.fusesource.hawtbuf.AsciiBuffer txid, boolean sync) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void ackMessage(org.fusesource.hawtbuf.AsciiBuffer consumerId,
org.fusesource.hawtbuf.AsciiBuffer messageId,
org.fusesource.hawtbuf.AsciiBuffer txid,
Promise<StompFrame> callback)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void subscribe(StompJmsDestination destination, org.fusesource.hawtbuf.AsciiBuffer consumerId, org.fusesource.hawtbuf.AsciiBuffer selector, org.fusesource.hawtbuf.AsciiBuffer ackMode, boolean noLocal, boolean persistent, boolean browser, StompJmsPrefetch prefetch, java.util.Map<org.fusesource.hawtbuf.AsciiBuffer,org.fusesource.hawtbuf.AsciiBuffer> headers) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void unsubscribe(org.fusesource.hawtbuf.AsciiBuffer consumerId,
boolean persistent)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic org.fusesource.hawtbuf.AsciiBuffer startTransaction()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void commitTransaction(org.fusesource.hawtbuf.AsciiBuffer txid)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void rollbackTransaction(org.fusesource.hawtbuf.AsciiBuffer txid)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void sendFrame(StompFrame frame) throws java.io.IOException
java.io.IOExceptionpublic void sendRequest(StompFrame frame, Promise<StompFrame> future)
public void sendRequest(StompFrame frame) throws java.io.IOException
java.io.IOExceptionpublic void onFrame(StompFrame frame)
public java.lang.String getChannelId()
public void setChannelId(java.lang.String channelId)
channelId - the channelId to setpublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - the userName to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the password to setpublic java.lang.String getAckMode()
public void setAckMode(java.lang.String ackMode)
ackMode - the ackMode to setpublic java.net.URI getBrokerURI()
public void setBrokerURI(java.net.URI brokerURI)
brokerURI - the brokerURI to setpublic java.net.URI getLocalURI()
public void setLocalURI(java.net.URI localURI)
localURI - the localURI to setpublic boolean isOmitHost()
public void setOmitHost(boolean omitHost)
public StompJmsMessageListener getListener()
public void setListener(StompJmsMessageListener listener)
listener - the listener to setpublic void setExceptionListener(javax.jms.ExceptionListener listener)
public org.fusesource.hawtbuf.AsciiBuffer nextId()
public java.lang.String getConnectedHostId()
public java.lang.String getServerAndVersion()
public java.lang.String getConnectedSessionId()
public StompServerAdaptor getServerAdaptor()
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
public long getDisconnectTimeout()
public void setDisconnectTimeout(long disconnectTimeout)
public javax.net.ssl.SSLContext getSslContext()
public void setSslContext(javax.net.ssl.SSLContext sslContext)
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.