|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.httppubsub.LocalClient
public abstract class LocalClient
The main purpose of LocalClient class is for pubsub server side programming.
The LocalClient class is the client representative on server side, which has
no Transport
associate with it, no subscribed
channel and is always connected.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.bea.httppubsub.Client |
---|
Client.ConnectionType |
Constructor Summary | |
---|---|
LocalClient()
|
Method Summary | |
---|---|
AuthenticatedUser |
getAuthenticatedUser()
Get authenticated user object of this client. |
Set<String> |
getChannelSubscriptions()
Get all the channels currently subscribed by this client. |
abstract void |
registerMessageListener(DeliveredMessageListener listener)
Register a LocalClientMessageListener to this LocalClient, the listener will receive messages sent to channels that this LocalClient subscribes to. |
abstract void |
unregisterMessageListener(DeliveredMessageListener listener)
Unregister a LocalClientMessageListener to this LocalClient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.httppubsub.Client |
---|
getId, getPublishedMessageCount |
Constructor Detail |
---|
public LocalClient()
Method Detail |
---|
public AuthenticatedUser getAuthenticatedUser()
Client
getAuthenticatedUser
in interface Client
public Set<String> getChannelSubscriptions()
Client
getChannelSubscriptions
in interface Client
public abstract void registerMessageListener(DeliveredMessageListener listener)
listener
- the listener to be registeredpublic abstract void unregisterMessageListener(DeliveredMessageListener listener)
listener
- the listener which has been registered to this LocalClient.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |