biz.onixs.fix.scheduler
Class InitiatorConnection

java.lang.Object
  extended by biz.onixs.fix.scheduler.InitiatorConnection
All Implemented Interfaces:
SessionConnection

public class InitiatorConnection
extends Object
implements SessionConnection

Initiator session connection settings.


Constructor Summary
InitiatorConnection()
           
 
Method Summary
 void addAddress(InetSocketAddress address)
          Adds address.
 List<InetSocketAddress> getAddresses()
          Returns list of addresses.
 String getCustomLogonMessage()
          Returns custom logon message.
 String getCustomLogonMessageFieldDelimiter()
          Returns custom logon message field delimiter.
 String getCustomLogonMessageFile()
          Returns custom logon message file.
 Message getCustomLogonMessageObj()
          Returns custom logon message.
 int getHeartbeatInterval()
          Returns heartbeat interval.
 boolean isSetResetSeqNumbers()
          Returns whether flag to reset sequence numbers should be set in logon.
 void logon(Session session)
          Logons the session.
 void setCustomLogonMessage(String customLogonMessage)
          Sets custom logon message.
 void setCustomLogonMessageFieldDelimiter(String customLogonMessageFieldDelimiter)
          Sets custom logon message field delimiter.
 void setCustomLogonMessageFile(String customLogonMessageFile)
          Sets custom logon message file.
 void setCustomLogonMessageObj(Message customLogonMessageObj)
          Sets custom logon message.
 void setHeartbeatInterval(int heartbeatInterval)
          Sets heartbeat interval.
 void setHeartbeatInterval(String heartbeatInterval)
          Sets heartbeat interval.
 void setSetResetSeqNumbers(boolean setResetSeqNumbers)
          Sets whether flag to reset sequence numbers should be set in logon.
 void setSetResetSeqNumbers(String setResetSeqNumbers)
          Sets whether flag to reset sequence numbers should be set in logon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitiatorConnection

public InitiatorConnection()
Method Detail

logon

public void logon(Session session)
           throws IOException
Logons the session.

Specified by:
logon in interface SessionConnection
Parameters:
session - session
Throws:
IOException - if logon message reading failed

isSetResetSeqNumbers

public boolean isSetResetSeqNumbers()
Returns whether flag to reset sequence numbers should be set in logon.

Returns:
whether flag to reset sequence numbers should be set in logon

setSetResetSeqNumbers

public void setSetResetSeqNumbers(boolean setResetSeqNumbers)
Sets whether flag to reset sequence numbers should be set in logon.

Parameters:
setResetSeqNumbers - whether flag to reset sequence numbers should be set in logon

setSetResetSeqNumbers

public void setSetResetSeqNumbers(String setResetSeqNumbers)
Sets whether flag to reset sequence numbers should be set in logon.

Parameters:
setResetSeqNumbers - whether flag to reset sequence numbers should be set in logon, true or false

getHeartbeatInterval

public int getHeartbeatInterval()
Returns heartbeat interval.

Returns:
heartbeat interval

setHeartbeatInterval

public void setHeartbeatInterval(int heartbeatInterval)
Sets heartbeat interval.

Parameters:
heartbeatInterval - heartbeat interval

setHeartbeatInterval

public void setHeartbeatInterval(String heartbeatInterval)
Sets heartbeat interval.

Parameters:
heartbeatInterval - heartbeat interval

getCustomLogonMessageFieldDelimiter

public String getCustomLogonMessageFieldDelimiter()
Returns custom logon message field delimiter.

Returns:
custom logon message field delimiter

setCustomLogonMessageFieldDelimiter

public void setCustomLogonMessageFieldDelimiter(String customLogonMessageFieldDelimiter)
Sets custom logon message field delimiter.

Parameters:
customLogonMessageFieldDelimiter - custom logon message field delimiter

getCustomLogonMessageObj

public Message getCustomLogonMessageObj()
Returns custom logon message.

Returns:
custom logon message

setCustomLogonMessageObj

public void setCustomLogonMessageObj(Message customLogonMessageObj)
Sets custom logon message.

Parameters:
customLogonMessageObj - custom logon message

setCustomLogonMessage

public void setCustomLogonMessage(String customLogonMessage)
Sets custom logon message.

Parameters:
customLogonMessage - custom logon message

getCustomLogonMessage

public String getCustomLogonMessage()
Returns custom logon message.

Returns:
custom logon message

getCustomLogonMessageFile

public String getCustomLogonMessageFile()
Returns custom logon message file.

Returns:
custom logon message file

setCustomLogonMessageFile

public void setCustomLogonMessageFile(String customLogonMessageFile)
Sets custom logon message file.

Parameters:
customLogonMessageFile - custom logon message file

addAddress

public void addAddress(InetSocketAddress address)
Adds address.

Parameters:
address - connection address

getAddresses

public List<InetSocketAddress> getAddresses()
Returns list of addresses.

Returns:
list of addresses


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.