org.marre.mms.transport
Interface MmsTransport

All Known Implementing Classes:
Mm1Transport

public interface MmsTransport

Mms Transport.

Version:
$Id: MmsTransport.java,v 1.9 2005/11/26 14:51:29 c95men Exp $
Author:
Markus

Method Summary
 void connect()
          Connects to the MMSC (or phone, or service, or...)
 void disconnect()
          Disconnects from the MMSC (or phone, or service, or...)
 void init(java.util.Properties theProps)
          Initializes the transport Initializes the transport with the given properties.
 void send(MimeBodyPart theMessage, MmsHeaders theHeaders)
          Sends an MmsMessage to the given destination
 

Method Detail

init

public void init(java.util.Properties theProps)
          throws MmsException
Initializes the transport

Initializes the transport with the given properties.

Parameters:
theProps - Properties
Throws:
MmsException

connect

public void connect()
             throws MmsException,
                    java.io.IOException
Connects to the MMSC (or phone, or service, or...)

Throws:
MmsException
java.io.IOException - TODO

send

public void send(MimeBodyPart theMessage,
                 MmsHeaders theHeaders)
          throws MmsException,
                 java.io.IOException
Sends an MmsMessage to the given destination

Parameters:
theMessage - The Message to send
theHeaders - Headers
Throws:
MmsException
java.io.IOException - TODO

disconnect

public void disconnect()
                throws MmsException,
                       java.io.IOException
Disconnects from the MMSC (or phone, or service, or...)

Throws:
MmsException
java.io.IOException - TODO


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.