Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2013-2014 by Cisco Systems, Inc. All rights reserved.
 
 package com.cisco.oss.foundation.directory;
 
The callback interface when the service instance status is changed.

Author(s):
zuxiang
public interface NotificationHandler {
A service instance is available

Parameters:
service The ServiceInstance which the NotificationHandler triggered for.
Throws:
com.cisco.oss.foundation.directory.exception.ServiceException
	public void serviceInstanceAvailable(ServiceInstance servicethrows ServiceException;

A service instance is unavailable

Parameters:
service The ServiceInstance which the NotificationHandler triggered for.
Throws:
com.cisco.oss.foundation.directory.exception.ServiceException
New to GrepCode? Check out our FAQ X