public class WANBootStrapping_Site1_Add
extends Object
This is a member representing site 1 who wants to send data to site 2
On this member a locator with distributed-system-id = 1 is created. On this
member a cache is created.
A Region and a GatewaySender is created on this member through
MyDistributedSustemListener#addedDistributedSystemConnection
(When a remote locator with distributed-system-id = 2 connects to this site,
MyDistributedSustemListener's addedDistributedSystemConnection will be
invoked who will create a region and a GatewaySender.)
This member does put for 100 keys on the region. (We have to check that this
data for 100 entries are sent to remote site)
This member also check for the sender's running status.
A GatewaySender will be stopped through
MyDistributedSustemListener#removedDistributedSystem
(When a remote locator with distributed-system-id = -2 connects to this site,
MyDistributedSustemListener's removedDistributedSystem will be invoked who
will stop a GatewaySender.)