HyperView2.959 bannerDocumentation
 
public class ViewMemory extends InterProcessMemory
implements
 ViewMemoryConstants
,
 MessagePortConstants,
 SharedMemoryListener

Constructor

ViewMemory(HyperView tView);


Methods

public boolean exists()


public void erase()
 
erase()
erase the memory.


public static int getTotalViewNumber()
Get total number of views.


static InterProcessMemory
link(String,InterProcessMemory) throws IllegalAccessException

String is the Memory Name. If a segment of Memory with this name already exists, then a reference to it is returned, Otherwise the InterProcessMemory handed as a parameter to link() is returned.


public static ViewMemory addLocalView(HyperView)
Add a View into the ViewMemory



public void removeLocalView(HyperView)
remove a View from the ViewMemory


public void addRemoteView(HyperView)
add a remote View (different IP)


public void removeRemoteView(HyperView tView)
remove a remote View from the ViewMemory


public void updateViewData(byte[])
Send byte data to View