Package alt.javax.mail
Interface Service
- All Known Subinterfaces:
Transport
- All Known Implementing Classes:
MockService
,MockTransport
,ServiceImpl
,TransportImpl
public interface Service
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConnectionListener
(ConnectionListener connectionListener) void
close()
void
connect()
void
void
URLName
boolean
void
removeConnectionListener
(ConnectionListener connectionListener) toString()
-
Method Details
-
connect
void connect() throws MessagingException- Throws:
MessagingException
-
connect
- Throws:
MessagingException
-
connect
- Throws:
MessagingException
-
isConnected
boolean isConnected() -
close
void close() throws MessagingException- Throws:
MessagingException
-
getURLName
URLName getURLName() -
addConnectionListener
void addConnectionListener(ConnectionListener connectionListener) -
removeConnectionListener
void removeConnectionListener(ConnectionListener connectionListener) -
toString
String toString()
-