A B C D E F G H I L M N O P R S T U W

G

getAddress() - Method in class peer2me.network.NetworkNode
Gets the address of the networknode
getAddress() - Method in class peer2me.node.Node
Gets the address of the node
getAllMessageParts() - Method in class peer2me.message.Message
Returns all the MessageParts that are attached to this message Should only be used by the framework itself
getAllNodes() - Method in class peer2me.framework.Framework
Gets all the discovered nodes Calling on the corresponding method in Session.
getAllNodes(Group) - Method in class peer2me.framework.Framework
Gets alle the nodes in the given group.
getAllNodes() - Method in class peer2me.session.Session
Gets all the discovered nodes
getAllNodes(Group) - Method in class peer2me.session.Session
Gets alle the nodes in the given group.
getAsciiPingServiceID() - Method in class peer2me.service.Service
Gets the asciiServiceID in ASCII
getASCIIServiceID() - Method in class peer2me.service.Service
Gets the serviceID in ASCII
getBoolean(String) - Method in class peer2me.message.Message
Returns the boolean value that is assosiated with the key
getBooleanValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a boolean in this MessagePart.
getBytesLeft() - Method in class peer2me.message.SendFileObject
Returns the number of bytes that has not be read from the file yet
getChar(String) - Method in class peer2me.message.Message
Returns the char value that is assosiated with the key
getChars() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists an array of chars in this MessagePart.
getCharValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a char in this MessagePart.
getConnectionURL() - Method in class peer2me.message.SendableNodeInfo
Returns the connectionURL of the node in this class
getConnectionURL() - Method in class peer2me.network.NetworkNode
Gets the connection url of the networknode
getDate() - Method in class peer2me.log.LogElement
Gets the date/time of the log-entry
getDate() - Method in class peer2me.log.LogElementDate
Gets the Date-object
getDateString() - Method in class peer2me.log.LogElementDate
Gets a presentable string of the date/time.
getDouble(String) - Method in class peer2me.message.Message
Returns the double value that is assosiated with the key
getDoubleValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a double in this MessagePart.
getEcho() - Method in class peer2me.node.Node
Gets the number of pings the node has responded to; number of echoes.
getElementAt(int) - Method in class peer2me.log.Log
Gets a log-entry at the specified index.
getElements() - Method in class peer2me.log.Log
Gets all the log-entries as an array of LogElement
getElements(LogElementType) - Method in class peer2me.log.Log
Gets all the log-entries as an array of LogElement based on the LogElementType
getElementsAsList() - Method in class peer2me.log.Log
Creates ajavax.microedition.lcdui.List based on the elements in the log.
getElementsAsList(LogElementType) - Method in class peer2me.log.Log
Creates a javax.microedition.lcdui.List based on the the given elementtype and elements in the log.
getElementsAsList(String) - Method in class peer2me.log.Log
Creates a javax.microedition.lcdui.List based on the elements in the log.
getElementsAsList(String, LogElementType) - Method in class peer2me.log.Log
Creates a javax.microedition.lcdui.List based on the the given elementtype and elements in the log.
getFile(String) - Method in class peer2me.message.Message
Returns a FileInfo object that contains information about the received file.
getFileHandler() - Method in class peer2me.framework.Framework
Gets a reference of FileHandler
getFileInfo() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a FileInfo in this MessagePart.
getFileName() - Method in class peer2me.message.FileInfo
Returns the name of the file
getFileName() - Method in class peer2me.message.FileObject
Returns the name of the file that is assosiated with this FileObject
getFileObject() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a FileObject in this MessagePart.
getFileSize() - Method in class peer2me.message.FileInfo
Returns the size of the file
getFileSize() - Method in class peer2me.message.FileObject
Returns the size of the file that is assosiated with this FileObject
getFirstElement() - Method in class peer2me.log.Log
Gets the first element added to the log.
getFirstMessage() - Method in class peer2me.message.LinkedMessageList
Returns the Message which is contained in the first element in the list.
getFirstNode() - Method in class peer2me.message.LinkedPingRecipientsList
Returns the Node which is contained in the first element in the list.
getFloat(String) - Method in class peer2me.message.Message
Returns the float value that is assosiated with the key
getFloatValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a float in this MessagePart.
getFullPathToFile() - Method in class peer2me.message.FileInfo
Returns the full path of the file
getFullPathToFile() - Method in class peer2me.message.FileObject
Returns the full path to the file, including the filename
getGroup(String) - Method in class peer2me.framework.Framework
Gets a Group with the corresponding name.
getGroup(String) - Method in class peer2me.session.Session
Gets a Group with the corresponding name.
getGroup(Node) - Method in class peer2me.session.Session
Gets a Group based on a Node.
getGroupAt(int) - Method in class peer2me.framework.Framework
Gets the Group at the given index in the collection of groups in session.
getGroupAt(int) - Method in class peer2me.session.Session
Gets the Group at the given index in the collection of groups in session.
getGroups() - Method in class peer2me.framework.Framework
Gets all the groups.
getGroups() - Method in class peer2me.session.Session
Gets all the groups
getHeader(int) - Method in class peer2me.network.bluetooth.Peer2MeHeaderSet
Required method from interface.
getHeaderList() - Method in class peer2me.network.bluetooth.Peer2MeHeaderSet
Required method from interface.
getHexPingServiceID() - Method in class peer2me.service.Service
Gets the pingServiceID in HEX
getHexServiceID() - Method in class peer2me.service.Service
Gets the serviceID in HEX
getHexString(String) - Static method in class peer2me.service.HexBuilder
A static method taking a normal ASCII-string transforming it into a correspondent string in hex codes.
getIncompleteReceivedMessages() - Method in class peer2me.network.bluetooth.BluetoothListener
Returns a HashTable containing all the incomplete received messages.
getIndexOfNode(Node) - Method in class peer2me.group.Group
Returns the index of a given Node.
getInstance(String, String, Network, boolean, FrameworkSubscriber) - Static method in class peer2me.framework.Framework
This method will create a new or get an existing instance of Framework.
getInstance() - Static method in class peer2me.log.Log
Gets the current or creates a new instance of the log.
getInstance(Framework, Group, Service, Network, boolean) - Static method in class peer2me.session.Session
This should be used only one time, and sets a default Group, the Network and the Service.
getInstance() - Static method in class peer2me.session.Session
Must only be used after getInstance(...)
getInstance() - Static method in class peer2me.util.FileHandler
Gets a reference FileHandler using singelton
getInt(String) - Method in class peer2me.message.Message
Returns the int value that is assosiated with the key
getIntValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a int in this MessagePart.
getKey() - Method in class peer2me.message.MessagePart
Returns the key of this MessagePart
getLastElement() - Method in class peer2me.log.Log
Gets the last element added to the log.
getLocalConnectionURL() - Method in class peer2me.network.bluetooth.Bluetooth
Returns the connectionURL of the local node
getLocalDevice() - Method in class peer2me.session.Session
Gets the LocalDevice
getLocalNode() - Method in class peer2me.framework.Framework
Returns the local node
getLocalNode() - Method in class peer2me.session.Session
Gets the local Node
getLocalPingConnectionURL() - Method in class peer2me.network.bluetooth.Bluetooth
Returns the connectionURL that must be used to ping the local node
getLog() - Method in class peer2me.framework.Framework
Gets a reference to Log
getLong(String) - Method in class peer2me.message.Message
Returns the long value that is assosiated with the key
getLongValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a long in this MessagePart.
getMessageID() - Method in class peer2me.message.Message
Gets the ID of this message.
getMessagePart(String) - Method in class peer2me.message.Message
Should only be used by the framework itself
getMessagePartType() - Method in class peer2me.message.MessagePart
Returns what kind of MessagePart this is.
getMessageQue() - Method in class peer2me.network.bluetooth.Bluetooth
Returns the list that contains all messages that are to be sent
getMessageType() - Method in class peer2me.message.Message
Returns what kind of message this is
getName() - Method in class peer2me.group.Group
Gets the name of the group
getName() - Method in class peer2me.network.NetworkNode
Gets the name of the networknode
getNetwork() - Method in class peer2me.session.Session
Gets a referecnce to Network
getNetworkNode() - Method in class peer2me.node.Node
Gets the NetworkNode the node is based on.
getNextElement() - Method in class peer2me.log.Log
Gets the next LogElement from the log.
getNextNode() - Method in class peer2me.message.SendableNodeInfo
Returns the next node in the linked list if there is one
getNode(String) - Method in class peer2me.framework.Framework
Gets a Node based on an address Calling on the corresponding method in Session.
getNode(int, Group) - Method in class peer2me.framework.Framework
Gets the Node at the given index in the given Group.
getNode(String) - Method in class peer2me.group.Group
Gets a Node with the specified address
getNode(String) - Method in class peer2me.session.Session
Gets a Node based on an address
getNode(int, Group) - Method in class peer2me.session.Session
Gets the Node at the given index in the given Group.
getNodeAddress() - Method in class peer2me.message.SendableNodeInfo
Returns the address to this node
getNodeAt(int) - Method in class peer2me.group.Group
Gets a Node at det specified index
getNodeName() - Method in class peer2me.message.SendableNodeInfo
Returns the name to this node
getNodename() - Method in class peer2me.node.Node
Gets the name of the node
getNodes() - Method in class peer2me.group.Group
Gets an array of Node in the group
getNumberOfBytesJustRead() - Method in class peer2me.message.SendFileObject
Returns how many bytes was read during the last call to SendFileObject.read()
getNumberOfMessagesInList() - Method in class peer2me.message.LinkedMessageList
Returns the number of messages in the list
getNumberOfNodes() - Method in class peer2me.group.Group
Returns the number of nodes in the group.
getNumberOfNodesInList() - Method in class peer2me.message.LinkedPingRecipientsList
Returns the number of nodes in the list
getObject() - Method in class peer2me.message.ObjectInputStream
Returns the object that was deserialized
getObject() - Method in class peer2me.network.NetworkNode
Gets the universal object for the networknode
getObjectBytes() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists an array of bytes in this MessagePart.
getObjectClass() - Method in class peer2me.network.bluetooth.BluetoothNode
Returns the runtime class of object.
getObjectType() - Method in class peer2me.network.bluetooth.BluetoothNode
Returns the value of the toString() method of the local variable object
getPing() - Method in class peer2me.node.Node
Gets the number of ping-messages sent by the node
getPingConnectionUrl() - Method in class peer2me.message.SendableNodeInfo
Returns the pingConnectionURL of the node in this class
getPingConnectionURL() - Method in class peer2me.network.bluetooth.BluetoothNode
Gets the url that other nodes must use to ping the BluetoothNode
getPingQue() - Method in class peer2me.network.bluetooth.Bluetooth
Returns the list that contains all pings that are to be sent
getPreviousElement() - Method in class peer2me.log.Log
Gets the previous LogElement from the log.
getReceivedFilesFolder() - Method in class peer2me.util.FileHandler
Gets the path to the folder where received files are stored
getRecipients() - Method in class peer2me.message.Message
Returns all the recipients of this message
getResponseCode() - Method in class peer2me.network.bluetooth.Peer2MeHeaderSet
Required method from interface.
getSender() - Method in class peer2me.message.Message
Returns a Node representation of the sender of this message
getSerializedObject(String) - Method in class peer2me.message.Message
Gets the serialized object that is assosiated with the given key
getService() - Method in class peer2me.session.Session
Gets a reference to Service
getSession() - Method in class peer2me.framework.Framework
Gets a reference to Session
getShort(String) - Method in class peer2me.message.Message
Returns the short value that is assosiated with the key
getShortValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a short in this MessagePart.
getString(String) - Method in class peer2me.message.Message
Returns the String value that is assosiated with the key
getStringValue() - Method in class peer2me.message.MessagePart
A call to this method persumes that there exists a String in this MessagePart.
getText() - Method in class peer2me.log.LogElement
Gets the description of the log-entry
getThread() - Method in class peer2me.network.bluetooth.BluetoothListener
Returns the this class' thread
getType() - Method in class peer2me.log.LogElement
Gets the type of log-entry
Group - Class in peer2me.group
A simple class for storing information about a group and its nodes.
Group(String) - Constructor for class peer2me.group.Group
Creates a new instance of Group.
Group(String, Node[]) - Constructor for class peer2me.group.Group
Creates a new instance of Group with a name and existing nodes
GroupNotFoundException - Exception in peer2me.exception
This class represents an exception thrown when a group cannot be found when trying to get a node or a group.
GroupNotFoundException() - Constructor for exception peer2me.exception.GroupNotFoundException
Default constructor
GroupNotFoundException(String) - Constructor for exception peer2me.exception.GroupNotFoundException
Default constructor

A B C D E F G H I L M N O P R S T U W