com.davesag.smpp
Interface SMPPCommander

All Superinterfaces:
ie.omk.smpp.event.ConnectionObserver, Runnable
All Known Implementing Classes:
AbstractSMPPCommander

public interface SMPPCommander
extends Runnable, ie.omk.smpp.event.ConnectionObserver

An SMPPCommander is able to connect to an SMPP server and process structured commands. Implememt this by extending the AbstractSMPPCommander and using the inner Factory class to return a singleton instance.

Version:
CVS Revision $Id:$
Author:
Dave Sag www.davesag.com

Nested Class Summary
static class SMPPCommander.Factory
          inner factory class for instantiating new SMPPCommanders.
 
Method Summary
 ie.omk.smpp.Connection getConnection()
          accessor for the connection to the SMPP server.
 void start()
          you must be able to start the connection manager.
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface ie.omk.smpp.event.ConnectionObserver
packetReceived, update
 

Method Detail

getConnection

public ie.omk.smpp.Connection getConnection()
accessor for the connection to the SMPP server.

Returns:
a connection to the SMPP server.

start

public void start()
you must be able to start the connection manager.



SMPP Commander API version 20 Jan 2005. (C) 2004 Dave Sag.