DBA Data[Home] [Help]

PACKAGE: APPS.XNP_TIMER_MGR

Source


1 PACKAGE XNP_TIMER_MGR AUTHID CURRENT_USER AS
2 /* $Header: XNPTMGRS.pls 120.1 2005/06/24 04:48:41 appldev ship $ */
3 
4 -- Wrapper process for the inbound timer queue.
5 -- Invokes process for enqueuing messages on the inbound timer queue.
6 --
7 PROCEDURE PROCESS_IN_TMR ;
8 --
9 -- Constructs the dynamic message for the timer.
10 --
11 PROCEDURE CONSTRUCT_DYNAMIC_MESSAGE
12 (
13 		p_msg_to_create  IN VARCHAR2,
14 		p_old_msg_header IN xnp_message.msg_header_rec_type,
15 		p_delay IN NUMBER DEFAULT NULL,
16 		p_interval IN NUMBER DEFAULT NULL,
17 		x_new_msg_header OUT NOCOPY xnp_message.msg_header_rec_type,
18 		x_new_msg_text OUT NOCOPY VARCHAR2,
19 		x_error_code OUT NOCOPY NUMBER,
20 		x_error_message OUT NOCOPY VARCHAR2) ;
21 
22 -- Checks arrival of a timer and starts the actual timer when the dummy timer is dequeued.
23 -- If the dequeued message is an actual timer, it
24 -- enqueues it back on the inbound message queue.
25 --
26 PROCEDURE PROCESS
27  (P_QUEUE_NAME IN VARCHAR2
28  ) ;
29 
30 PROCEDURE  process_in_tmr(p_message_wait_timeout IN NUMBER DEFAULT 1,
31 			p_correlation_id IN VARCHAR2,
32 			x_message_key OUT NOCOPY VARCHAR2,
33 			x_queue_timed_out OUT NOCOPY VARCHAR2);
34 
35 
36 PROCEDURE process(
37 	p_queue_name IN VARCHAR2,
38 	p_correlation_id IN VARCHAR2,
39 	x_queue_timed_out OUT NOCOPY VARCHAR2
40 ) ;
41 END xnp_timer_mgr;