org.marre.mms.transport.mm1
Class Mm1Transport

java.lang.Object
  extended byorg.marre.mms.transport.mm1.Mm1Transport
All Implemented Interfaces:
MmsTransport

public class Mm1Transport
extends java.lang.Object
implements MmsTransport

Sends mms using the mm1 protocol.

Version:
$Id: Mm1Transport.java,v 1.9 2005/11/26 14:52:08 c95men Exp $
Author:
Markus Eriksson

Field Summary
static java.lang.String CONTENT_TYPE_WAP_MMS_MESSAGE
          Content type for a mms message.
 
Constructor Summary
Mm1Transport()
           
 
Method Summary
 void connect()
          The mm1 protocol is connection less so this method is not used.
 void disconnect()
          The mm1 protocol is connection less so this method is not used.
 void init(java.util.Properties theProps)
          Initializes the transport Initializes the transport with the given properties.
 void send(MimeBodyPart theMessage, MmsHeaders theHeaders)
          Sends MMS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE_WAP_MMS_MESSAGE

public static final java.lang.String CONTENT_TYPE_WAP_MMS_MESSAGE
Content type for a mms message.

See Also:
Constant Field Values
Constructor Detail

Mm1Transport

public Mm1Transport()
Method Detail

init

public void init(java.util.Properties theProps)
          throws MmsException
Description copied from interface: MmsTransport
Initializes the transport

Initializes the transport with the given properties.

Specified by:
init in interface MmsTransport
Parameters:
theProps - Properties
Throws:
MmsException
See Also:
MmsTransport.init(java.util.Properties)

connect

public void connect()
The mm1 protocol is connection less so this method is not used.

Specified by:
connect in interface MmsTransport
See Also:
MmsTransport.connect()

send

public void send(MimeBodyPart theMessage,
                 MmsHeaders theHeaders)
          throws MmsException,
                 java.io.IOException
Sends MMS.

Specified by:
send in interface MmsTransport
Parameters:
theMessage - The Message to send
theHeaders - Headers
Throws:
java.io.IOException - TODO
MmsException
See Also:
MmsTransport.send(org.marre.mime.MimeBodyPart, org.marre.mms.MmsHeaders)

disconnect

public void disconnect()
                throws java.io.IOException
The mm1 protocol is connection less so this method is not used.

Specified by:
disconnect in interface MmsTransport
Throws:
java.io.IOException - TODO
See Also:
MmsTransport.disconnect()


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