The Artima Developer Community
Sponsored Link

Java Answers Forum
Sequence Push Consumer

1 reply on 1 page. Most recent reply: Apr 5, 2011 10:05 AM by JoseJavier Velasco

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
tenzin bhutia

Posts: 1
Nickname: tereeves
Registered: Oct, 2008

Sequence Push Consumer Posted: Oct 23, 2008 12:32 AM
Reply to this message Reply
Advertisement
Hi ,
Im trying to fetch some Real time alarms from an 3gppv2 compliant EMS using notification service.
I have obtained the Notification IRP object reference. I want to know how to create a Sequence Push consumer object.
I have identified the next steps as follows:
a) attach_push
b) push_structured_event
c) detach
d) disconnect(Sequence Push Consumer)
Please let me know if im right and help me in implementing them.


JoseJavier Velasco

Posts: 1
Nickname: jjavierv
Registered: Apr, 2011

Re: Sequence Push Consumer Posted: Apr 5, 2011 10:05 AM
Reply to this message Reply
Hi, I have the same problem, I hope you solved. In case you didn't I found that the following is needed to create a Sequence Push Consumer

1. Create a CosNotifyChannelAdmin.ConsumerAdmin
2. Create a CosNotifyChannelAdmin.ProxySupplier, with ClientType.SEQUENCE_EVENT
3. With object created on step 2, narrow CosNotifyChannelAdmin.SequenceProxyPushSupplier.
4. Create a CosNotifyComm.SequencePushConsumer
5. With SequenceProxyPushSupplier, connect_sequence_push_consumer to object created in step 4.

Then, you are supposed to continue as you posted before. My problem is that I'm getting a huge exception on step 5.

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(Unkno wn Source)
at com.sun.corba.se.impl.transport.SelectorImpl.run(Unknown Source)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConn ection(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConn ection(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(Unknow n Source)
at com.sun.corba.se.impl.transport.CorbaContactInfoBase.createMessageMediator(Unkn own Source)
... 3 more
Caused by: java.io.IOException: End-of-stream
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(Unknown Source)
... 5 more

Hope you or anyone can give me some light...

Flat View: This topic has 1 reply on 1 page
Topic: Detecting oscilation Previous Topic   Next Topic Topic: I need help on simple java.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use