HP-UX Java SIP Stack Programmer's Guide (February 2008)
The JSR32 SIP architecture includes the following components:
• SipListener
This interface represents the application view to a SIP stack and defines the
application's communication channel to the SIP stack. It also defines the methods
required by an application to receive and process events that are generated by an
object implementing the SipProvider interface. An application can accept one
of the following event types:
RequestEvent Specifies request messages emitted as events
by the SipProvider.
ResponseEvent Specifies response messages emitted as
events by the SipProvider.
TimeoutEvent Specifies timeout notifications emitted as
events by the SipProvider.
IOExceptionEvent Specifies input/output (I/O) exception
notifications emitted as events by the
SipProvider.
TransactionTerminatedEvent Specifies transaction terminated notifications
emitted as events by the SipProvider.
DialogTerminatedEvent Specifies dialog terminated notifications
emitted as events by the SipProvider.
• SipProvider
This interface represents the messaging entity of a SIP stack and defines the
messaging and transactional view of the SIP stack.
• ListeningPoint
This interface represents a unique IP network listening point, which consists of
port, transport and IP address. A ListeningPoint is a Java representation of
the socket that a SipProvider messaging entity uses to send and receive messages.
• JSR32 SIP stack
The JSR32 SIP stack contains the following components:
Dialog Represents a peer-to-peer SIP relationship between two user
agents. Dialog facilitates sequencing of messages between user
agents and routes requests between the user agents.
Transaction Specifies a request sent by a client transaction to a server
transaction, along with all responses to that request sent from
the server transaction back to the client transactions.
Request Specifies a message sent from the client to the server.
Response Specifies a message sent from the server to the client.
Parser Specifies an interface that accepts raw bytes from the network,
parses it according to the grammar specified in RFC 3261 (Session
38 JSR32 JAIN SIP APIs