Name
mkpgrp — Creates a new peergroup
Synopsis
mkpgrp [-ddoc
] [-p ] [-mservice
]name
Description
mkgrp
creates a
new peergroup using the supplied peergroup advertisement. If no
advertisement is provided, the command will create a clone of the
NetPeerGroup peergroup. In either case, the peergroup is assigned a
name.
The
PG#
group name
environment variable is created to store the new group information.
The new peergroup is advertised in the NetPeerGroup. By default,
mkpgrp
remotely publishes the newly created group;
to skip remote publishing, specify the -p
option.
Options
-
-d
doc
Creates the group from the information in the given peergroup advertisement
-
-m
service
Specifies a service to be used as the membership service
-
-p
Prevents remote publishing of the new peergroup advertisement
-
name
Assigns the peergroup the given name
Example
JXTA>mygroupadv = mkadv -g
JXTA>mypgrp = mkpgrp -d mygroupadv mygroup
This creates a new peergroup with the name
mygroup
. Before you can do anything with the
group, you must join it by using the join
command.
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.