public interface SessionProtocol
Modifier and Type | Method and Description |
---|---|
void |
configureSession(Session session) |
Session |
connect(String senderName,
Connection connection,
TemplateRegistry inboundRegistry,
TemplateRegistry outboundRegistry,
MessageListener messageListener,
SessionListener sessionListener) |
Message |
createTemplateDeclarationMessage(MessageTemplate messageTemplate,
int templateId) |
Message |
createTemplateDefinitionMessage(MessageTemplate messageTemplate) |
MessageTemplate |
createTemplateFromMessage(Message templateDef,
TemplateRegistry registry) |
Message |
getCloseMessage() |
Message |
getResetMessage() |
void |
handleMessage(Session session,
Message message) |
boolean |
isProtocolMessage(Message message) |
void |
onError(Session session,
ErrorCode code,
String message) |
Session |
onNewConnection(String serverName,
Connection connection) |
void |
registerSessionTemplates(TemplateRegistry registry) |
boolean |
supportsTemplateExchange() |
void configureSession(Session session)
Session connect(String senderName, Connection connection, TemplateRegistry inboundRegistry, TemplateRegistry outboundRegistry, MessageListener messageListener, SessionListener sessionListener)
Session onNewConnection(String serverName, Connection connection)
Message getResetMessage()
boolean isProtocolMessage(Message message)
boolean supportsTemplateExchange()
Message createTemplateDefinitionMessage(MessageTemplate messageTemplate)
Message createTemplateDeclarationMessage(MessageTemplate messageTemplate, int templateId)
Message getCloseMessage()
void registerSessionTemplates(TemplateRegistry registry)
MessageTemplate createTemplateFromMessage(Message templateDef, TemplateRegistry registry)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.