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

S

search() - Method in class peer2me.framework.Framework
This methods starts a search for devices and services.
search() - Method in class peer2me.network.bluetooth.Bluetooth
Starts a search for other devices if there are no more messages in the queue.
search() - Method in class peer2me.network.bluetooth.BluetoothSearcher
Starts a search for other Bluetooth devices.
search() - Method in class peer2me.network.Network
This method should perform a search for services and devices
search() - Method in class peer2me.session.Session
Performes a search for devices and services.
searchCompleted() - Method in class peer2me.framework.Framework
This method is called whenever a search for devices and services is finished.
searchCompleted() - Method in interface peer2me.framework.FrameworkSubscriber
This method is called whenever a search for devices and services is finished.
searchCompleted() - Method in class peer2me.network.bluetooth.Bluetooth
Is invoked by BluetoothSearcher when a search has completed.
searchCompleted() - Method in class peer2me.network.Network
This method should be called wheneve a search is finished.
searchCompleted() - Method in class peer2me.session.Session
This method is called when a search has been completed
SendableNodeInfo - Class in peer2me.message
This class implements the interface Serializable and is used by the framework to send information about all the nodes in the network.
SendableNodeInfo() - Constructor for class peer2me.message.SendableNodeInfo
Required default constructor so that the class ObjectInputStream can instanciate the class
SendableNodeInfo(String, String, String, String) - Constructor for class peer2me.message.SendableNodeInfo
Constructor
SENDER_ADDRESS - Static variable in class peer2me.network.bluetooth.Peer2MeHeaderSet
The network address of the sender of the message should be associated with this header
SENDER_NAME - Static variable in class peer2me.network.bluetooth.Peer2MeHeaderSet
The name of the sender of the message should be associated with this header
SendFileObject - Class in peer2me.message
This class extends FileObject and implements Runnable and is used by the Message class.
SendFileObject(String) - Constructor for class peer2me.message.SendFileObject
Constructor that starts a thread when called.
sendMessage(Message) - Method in class peer2me.framework.Framework
Passes on a Message to Session.
sendMessage(Message) - Method in class peer2me.network.bluetooth.Bluetooth
Puts a message in the queue.
sendMessage(Message) - Method in class peer2me.network.bluetooth.BluetoothObjectPush
Sends the message given as parameter.
sendMessage(Message) - Method in class peer2me.network.Network
This method should send a Message to another Node
sendMessage(Message) - Method in class peer2me.session.Session
Passes on a Message to Network.
Serializable - Interface in peer2me.message
This interface must be implemented by all Java objects that are going to be sent over the network as serializable objects.
serialize(DataOutputStream, Stack) - Method in class peer2me.message.SendableNodeInfo
Method required by the interface Serializable.
serialize(DataOutputStream, Stack) - Method in interface peer2me.message.Serializable
 
SERIALIZEDOBJECT - Static variable in class peer2me.message.MessagePart
If this MessagePart contains a serialized object (which is stored as an array of bytes), the method MessagePart.getMessagePartType() will return this constant
Service - Class in peer2me.service
A class to store the ServiceID in.
Service(String) - Constructor for class peer2me.service.Service
Creates a new ServiceID and a PingServiceID.
servicesDiscovered(int, ServiceRecord[]) - Method in class peer2me.network.bluetooth.BluetoothSearcher
Required method from DiscoveryListener.
serviceSearchCompleted(int, int) - Method in class peer2me.network.bluetooth.BluetoothSearcher
Required method from DiscoveryListener.
Session - Class in peer2me.session
This class binds togethers most of the framework and acts as a global access point.
setActivatePing(boolean) - Method in class peer2me.network.bluetooth.Bluetooth
Sets a local variable determining if ping shall be used
setActivatePing(boolean) - Method in class peer2me.network.Network
This method sets if the ping-functionality should be used or not
setConnection(Connection) - Method in class peer2me.network.bluetooth.BluetoothConnectionHandler
Sets a reference to the connection that is assosiated with this handler.
setConnection(Connection) - Method in class peer2me.network.bluetooth.BluetoothPingConnectionHandler
Sets a reference to the connection that is assosiated with this handler.
setConnectionURL(String) - Method in class peer2me.message.SendableNodeInfo
Sets the connectionURL of the node in this class
setConnectionURL(String) - Method in class peer2me.network.bluetooth.BluetoothNode
Sets the connectionURL of the BluetoothNode
setFileHandler(FileHandler) - Method in class peer2me.framework.Framework
Sets a reference of FileHandler
setFileName(String) - Method in class peer2me.message.ReceivedFileObject
Sets the name of the file assosiated with this class
setframeworkSubscriber(FrameworkSubscriber) - Method in class peer2me.framework.Framework
Sets the frameworksubscriber
setGoodbyeSent(boolean) - Method in class peer2me.network.bluetooth.Bluetooth
To allow the node to exit, this method must be used
setHeader(int, Object) - Method in class peer2me.network.bluetooth.Peer2MeHeaderSet
Required method from interface.
setKey(String) - Method in class peer2me.message.MessagePart
Sets the key of this MessagePart
setLocalConnectionURL(String) - Method in class peer2me.network.bluetooth.Bluetooth
Sets the connectionURL of the local node
setLocalPingConnectionURL(String) - Method in class peer2me.network.bluetooth.Bluetooth
Sets the connectionURL that must be used to ping the local node
setMessageID(String) - Method in class peer2me.message.Message
Sets the ID of this message.
setMessagePartType(int) - Method in class peer2me.message.MessagePart
Sets the type of this MessagePart.
setMessageType(int) - Method in class peer2me.message.Message
Sets the type of this message
setName(String) - Method in class peer2me.group.Group
Alters the name of the group
setNextNode(SendableNodeInfo) - Method in class peer2me.message.SendableNodeInfo
Sets the next node in the linked list
setNodeAddress(String) - Method in class peer2me.message.SendableNodeInfo
Sets the address of this node
setNodeName(String) - Method in class peer2me.message.SendableNodeInfo
Sets the name of this node
setObjectBytes(byte[]) - Method in class peer2me.message.MessagePart
Sets an array of bytes as contents of this MessagePart
setPingConnectionUrl(String) - Method in class peer2me.message.SendableNodeInfo
Sets the pingConnectionURL of the node in this class
setPingConnectionURL(String) - Method in class peer2me.network.bluetooth.BluetoothNode
Sets the url that other nodes must use to ping the BluetoothNode
setProcessQue(boolean) - Method in class peer2me.network.bluetooth.PingQueueProcessor
Can be used to stop this thread.
setProcessQueue(boolean) - Method in class peer2me.network.bluetooth.MessageQueueProcessor
Can be used to stop this thread.
setReceivedFilesFolder(String) - Method in class peer2me.framework.Framework
Sets the path of the default folder in which received files are stored.
setReceivedFilesFolder(String) - Method in class peer2me.util.FileHandler
Sets a default folder where received files are stored according to the input.
setSender(Node) - Method in class peer2me.message.Message
Sets the sender of this message.
setTurnedOn(boolean) - Method in class peer2me.log.Log
Sets if the log should be active
SHORT - Static variable in class peer2me.message.MessagePart
If this MessagePart contains a short, the method MessagePart.getMessagePartType() will return this constant
showDate(boolean) - Method in class peer2me.log.Log
Sets if the date should show in the log-entry
showTime(boolean) - Method in class peer2me.log.Log
Sets if the time should show in the log-entry
split(String, char) - Static method in class peer2me.util.TextUtil
A method to split strings into an array based on a character
storeAllPrimitivesInOnePart() - Method in class peer2me.message.Message
When adding primitive variables to this message, all the variables are stored as separate MessageParts.
STRING - Static variable in class peer2me.message.MessagePart
If this MessagePart contains a String, the method MessagePart.getMessagePartType() will return this constant

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