|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.mds.AbstractShare netcom.mds.FileShare
Title: File Share
Description: This represents a shared File resource by a PServer
Copyright: Copyright (c) 2002
Company: NETCOM
ChatShare
,
Serialized FormField Summary | |
java.lang.String |
size
A String that represnts the size of the FileShare |
Fields inherited from class netcom.mds.AbstractShare |
access_list, id, name_list_pairs, ps_name, share_name, source |
Constructor Summary | |
FileShare(java.lang.String ps_name,
java.lang.String share_name,
AddressPort source,
java.lang.String id,
java.lang.String[] access_list,
java.util.List[] name_list_pairs,
java.lang.String size)
Constructs a ChatShare object representing a ChatRoom on a PServer |
Method Summary | |
int |
compareTo(java.lang.Object o)
This compareTo is unique to FileShare and compares two FileShares based on there share_name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final java.lang.String size
Constructor Detail |
public FileShare(java.lang.String ps_name, java.lang.String share_name, AddressPort source, java.lang.String id, java.lang.String[] access_list, java.util.List[] name_list_pairs, java.lang.String size)
ps_name
- A String containingname of the PServer to add the share toshare_name
- A String representing the name of the Sharesource
- An InetSocketAddress that is the Socket of the PServer with the Shareid
- A unique String that represents this spedcific share. Used to get data from PServeraccess_list
- An array of Strings containing all PClients who have permission to Share. null if everyone has accessname_list_pairs
- An array of Lists that have the name lists representing the Share and used for searching for shares within PSDatassize
- A String that represents the size of the FileShareMethod Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
compareTo
in class AbstractShare
o
- Object to compare this ChatShare to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |