public interface ContactHandler
Modifier and Type | Method and Description |
---|---|
Serializable |
handleContactFromOtherInstance(Serializable pData)
This method is called when another application instance is started and contacts this instance.
|
Serializable handleContactFromOtherInstance(Serializable pData)
This method will be called in some thread. It may be called simultaneously in multiple threads.
The objects transferred may be any Serializable
but you should certain that
either both application instances are using the same code base or that the objects have
custom serialization mechanisms that allow communication across different versions.
The implementation of this method should be relatively fast.
pData
- the data object provided by the new application instanceCopyright © 2017 Jürgen Zeller (privat). All rights reserved.