com.latencybusters.lbm
Interface LBMSourceNotification


public interface LBMSourceNotification

Interface used for new source topic notification


Method Summary
 int sourceNotification(java.lang.String topic, java.lang.String source, java.lang.Object cbArg)
          Callback function called when a new source topic is detected.
 

Method Detail

sourceNotification

int sourceNotification(java.lang.String topic,
                       java.lang.String source,
                       java.lang.Object cbArg)
Callback function called when a new source topic is detected. This callback is called directly in line and does not use an event queue; therefore, it should not block which would impact processing on the context processing thread.

Parameters:
topic - New topic string
source - String identifying the source for the new topic
cbArg - Callback object token
Returns:
an int, which should always be 0.
See Also:
LBMContextAttributes#setSourceNotifyCallback(LBMSourceNotification, Object)


All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.