#include <udpep.h>
Inheritance diagram for OpalUdpSsEndPoint:

Public Member Functions | |
Construction | |
| OpalUdpSsEndPoint (OpalManager &manager, const char *prefix="udpss") | |
| ~OpalUdpSsEndPoint () | |
Overrides from OpalEndPoint | |
| virtual BOOL | MakeConnection (OpalCall &call, const PString &party, void *userData=NULL) |
| virtual OpalMediaFormatList | GetMediaFormats () const |
Customisation call backs | |
| virtual OpalUdpSsConnection * | CreateConnection (OpalCall &call, void *userData, const PString &token) |
User Interface operations | |
| PSafePtr< OpalUdpSsConnection > | GetUdpSsConnectionWithLock (const PString &token, PSafetyMode mode=PSafeReadWrite) |
| virtual PString | OnGetDestination (const OpalUdpSsConnection &connection)=0 |
| virtual void | OnShowIncoming (const OpalUdpSsConnection &connection)=0 |
| virtual void | AcceptIncomingConnection (const PString &connectionToken) |
| virtual BOOL | OnShowOutgoing (const OpalUdpSsConnection &connection)=0 |
| virtual BOOL | OnShowUserInput (const OpalUdpSsConnection &connection, const PString &indication) |
Protected Member Functions | |
| PString | MakeToken () |
Protected Attributes | |
| PAtomicInteger | connectionTokenIndex |
|
||||||||||||
|
Create a new endpoint.
|
|
|
Destroy endpoint. |
|
|
Accept the incoming connection.
|
|
||||||||||||||||
|
Create a connection for the UdpSs endpoint. The default implementation is to create a OpalUdpSsConnection.
|
|
|
Get the data formats this endpoint is capable of operating. This provides a list of media data format names that may be used by an OpalMediaStream may be created by a connection from this endpoint. Note that a specific connection may not actually support all of the media formats returned here, but should return no more. The default behaviour is pure. |
|
||||||||||||
|
Find a connection that uses the specified token. This searches the endpoint for the connection that contains the token as provided by functions such as MakeConnection().
|
|
||||||||||||||||
|
Set up a connection to a remote party. This is called from the OpalManager::MakeConnection() function once it has determined that this is the endpoint for the protocol. The general form for this party parameter is: [proto:][alias@][transport$]address[:port] where the various fields will have meanings specific to the endpoint type. For example, with H.323 it could be "h323:Fred@site.com" which indicates a user Fred at gatekeeper size.com. Whereas for the PSTN endpoint it could be "pstn:5551234" which is to call 5551234 on the first available PSTN line. The proto field is optional when passed to a specific endpoint. If it is present, however, it must agree with the endpoints protocol name or FALSE is returned. This function usually returns almost immediately with the connection continuing to occur in a new background thread. If FALSE is returned then the connection could not be established. For example if a PSTN endpoint is used and the assiciated line is engaged then it may return immediately. Returning a non-NULL value does not mean that the connection will succeed, only that an attempt is being made. The default behaviour is pure.
|
|
|
Turn the counter into a unique token string for this conenction |
|
|
Call back to get the destination for outgoing call. If FALSE is returned the call is aborted. The default implementation is pure.
Implemented in MyUdpSsEndPoint. |
|
|
Call back to indicate that remote is ringing. If FALSE is returned the call is aborted. The default implementation is pure.
Implemented in MyUdpSsEndPoint. |
|
|
Call back to indicate that remote is ringing. If FALSE is returned the call is aborted. The default implementation is pure.
Implemented in MyUdpSsEndPoint. |
|
||||||||||||
|
Call back to indicate that the remote user has indicated something. If FALSE is returned the call is aborted. The default implementation does nothing.
|
|
|
Counter, which is used to create unique UDP connection tokens |
1.4.4