Initial commit from SVN.
This commit is contained in:
21
Orb/src/com/de22/orb/IVersionChangeHandler.java
Normal file
21
Orb/src/com/de22/orb/IVersionChangeHandler.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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//
|
||||
Reference in New Issue
Block a user