jpos.loader
Interface JposServiceConnection
- All Known Implementing Classes:
- SimpleServiceConnection
- public interface JposServiceConnection
Interface defining a JposServiceConnection. Used to connect, disconnect
and access a JavaPOS service
- Since:
- 0.1 (Philly 99 meeting)
- Author:
- E. Michael Maximilien (maxim@us.ibm.com)
getService
public JposServiceInstance getService()
- Returns:
- the JposService associated with this connection
- Since:
- 0.1 (Philly 99 meeting)
getLogicalName
public java.lang.String getLogicalName()
- Returns:
- the logical name of the JposService associated with this connection
- Since:
- 0.1 (Philly 99 meeting)
connect
public void connect()
throws jpos.JposException
- Tries to make the connection with the associated JposService
- Throws:
jpos.JposException
- if any errors occurs with trying to make this connection- Since:
- 0.1 (Philly 99 meeting)
disconnect
public void disconnect()
throws jpos.JposException
- Tries to end the connection with the associated service
- Throws:
jpos.JposException
- if any errors occurs with trying to end this connection- Since:
- 0.1 (Philly 99 meeting)
This API and code belongs to the JavaPOS committee please see LISCENCE file for details