org.resilientedge.jockey.peer
Class PeerNetwork
java.lang.Object
|
+--org.resilientedge.jockey.peer.PeerNetwork
- public class PeerNetwork
- extends java.lang.Object
Represents a type of peer network that the platform can communicate with.
These network implementations are combined into meta-nets by the Jockey
system.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- John Gardner
Field Summary |
static int |
GNUTELLA_NETWORK
symbolic identifier for the gnutella network |
static int |
JABBER_NETWORK
symbolic identifier for the jabber network (www.jabber.org) |
static int |
JXTA_NETWORK
symbolic identifier for the JXTA network (www.jxta.org) |
static int |
KAZAA_NETWORK
symbolic identifier for the Kazaa network |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXTA_NETWORK
public static final int JXTA_NETWORK
- symbolic identifier for the JXTA network (www.jxta.org)
JABBER_NETWORK
public static final int JABBER_NETWORK
- symbolic identifier for the jabber network (www.jabber.org)
GNUTELLA_NETWORK
public static final int GNUTELLA_NETWORK
- symbolic identifier for the gnutella network
KAZAA_NETWORK
public static final int KAZAA_NETWORK
- symbolic identifier for the Kazaa network
PeerNetwork
public PeerNetwork()
setNetworkType
public void setNetworkType(int newValue)
- Sets the network type
- Parameters:
newValue
- The new NetworkType value
getNetworkType
public int getNetworkType()
- Gets the network type
- Returns:
- The NetworkType value
Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.