Name
leave — Leaves the current peergroup
Synopsis
leave [-k]
Description
The leave command is
used to leave the current peergroup (assuming that the current
peergroup is not the NetPeerGroup). After leaving the group, the
stdgroup variable is reset to the value of the
default rootgroup variable (the NetPeerGroup).
If the -k option is used, then this instance of
the group is stopped and deleted. Before a user can use the stopped
group again, the user will have to rejoin the group via the
join command.
Example
JXTA>mygroupadv = mkadv -g mygroupJXTA>mkpgrp -d mygroupadv mygroupJXTA>join mygroupJXTA>leave
This creates a new peergroup with the
name mygroup. The join command
sets the current peergroup to mygroup; the
leave command resets the current peergroup to the
NetPeerGroup.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access