|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InChannel
This interface is the receiver's view of an MTP.
| Nested Class Summary | |
|---|---|
static interface |
InChannel.Dispatcher
Callback interface to be notified of message arrivals over this Message Transport Protocol. |
| Method Summary | |
|---|---|
TransportAddress |
activate(InChannel.Dispatcher disp,
Profile p)
Activates an MTP handler for incoming messages on a default address. |
void |
activate(InChannel.Dispatcher disp,
TransportAddress ta,
Profile p)
Activates an MTP handler for incoming messages on a specific address. |
void |
deactivate()
Deactivates all the MTP handlers. |
void |
deactivate(TransportAddress ta)
Deactivates the MTP handler listening at a given transport address. |
| Method Detail |
|---|
TransportAddress activate(InChannel.Dispatcher disp,
Profile p)
throws MTPException
TransportAddress, corresponding to the
chosen default address.
MTPException - Thrown if some MTP initialization error
occurs.
void activate(InChannel.Dispatcher disp,
TransportAddress ta,
Profile p)
throws MTPException
ta - A TransportAddress object, representing
the transport address to listen to.
MTPException - Thrown if some MTP initialization error
occurs.
void deactivate(TransportAddress ta)
throws MTPException
ta - The TransportAddress object the handle to
close is listening to.
MTPException - Thrown if some MTP cleanup error occurs.
void deactivate()
throws MTPException
MTPException - Thrown if some MTP cleanup error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||