|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Receiver
Interface definition for an object that can act as a receiver for an SMPP session.
| Method Summary | |
|---|---|
String |
getName()
Get the name of this receiver. |
Session |
getSession()
Get the session that this receiver is using. |
boolean |
isStarted()
Test if this receiver is currently started. |
void |
setName(String name)
Set the name of this receiver. |
void |
setSession(Session session)
Se the session that this receiver is using. |
void |
start()
Start this receiver. |
void |
stop()
Stop this receiver. |
| Method Detail |
|---|
String getName()
void setName(String name)
name - The name of this receiver.Session getSession()
void setSession(Session session)
session - The SMPP session this receiver is using.boolean isStarted()
true if this receiver is running, false
otherwise.void start()
void stop()
isStarted() method
to ensure the receiver has been fully stopped.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||