21 lines
943 B
Java
21 lines
943 B
Java
|
|
/*
|
||
|
|
* Copyright (c) 2008 Declarative Engineering LLC.
|
||
|
|
* All rights reserved. This program and the accompanying materials
|
||
|
|
* are made available under the terms of the Declarative Engineering LLC
|
||
|
|
* verson 1 which accompanies this distribution, and is available at
|
||
|
|
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
||
|
|
*/
|
||
|
|
package com.de22.orb;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Allows the application to provide a handler for when the server determines the client must upgrade to a newer version.
|
||
|
|
*/
|
||
|
|
public interface IVersionChangeHandler {
|
||
|
|
/**
|
||
|
|
* Requests that the client download the new application version(s).
|
||
|
|
* <p><b> ** This method should return immediatly. ** </b></p>
|
||
|
|
* @param uris The URI's useable to download the new version of the client.
|
||
|
|
* @param isRequired Whether the version must be upgraded for the client to connect to the server.
|
||
|
|
*/
|
||
|
|
public void newVersionAvailable(String[] uris, boolean isRequired);
|
||
|
|
}//IVersionChangeHandler//
|