Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
N
O
P
R
S
T
W
S
searchForNodes()
- Method in class peer2me.network.
Network
Starts a search for devices running the same MIDlet
searchForNodes()
- Method in class peer2me.network.bluetooth.
BluetoothNetwork
Starts a search for devices running the same MIDlet
sendDataPackage(DataPackage, String[])
- Method in class peer2me.network.
Network
This method is used by the FrameworkFrontEnd to send a data package of any sort to a remote node.
sendDataPackage(DataPackage)
- Method in class peer2me.network.
NodeConnection
This method is called by the sendMessage() method in the Network class when a data package is sent to the Node associated with this NodeConnection.
sendDataPackage(DataPackage, String[])
- Method in class peer2me.network.bluetooth.
BluetoothNetwork
This method is used by the FrameworkFrontEnd to send a data package of any sort to a remote node.
sendFilePackage(String[], String)
- Method in interface peer2me.framework.
Framework
This method sends a file package over the network.
sendFilePackage(String[], String)
- Method in class peer2me.framework.
FrameworkFrontEnd
This method is used by the MIDlet to send a file package over the network.
sendTextPackage(String[], String)
- Method in interface peer2me.framework.
Framework
This method sends a text package over the network.
sendTextPackage(String[], String)
- Method in class peer2me.framework.
FrameworkFrontEnd
This method is used by the MIDlet to send a text package over the network.
serviceDiscoveryError()
- Method in class peer2me.network.bluetooth.
BluetoothNetwork
What to do when something went wrong during servicediscovery.
serviceDiscoveryError()
- Method in interface peer2me.network.bluetooth.
BluetoothServiceDiscoveryListener
What to do when something went wrong during servicediscovery
serviceSearchCompleted()
- Method in class peer2me.network.bluetooth.
BluetoothNetwork
Sets the boolean serviceSearchCompleted = true.
serviceSearchCompleted(int, int)
- Method in class peer2me.network.bluetooth.
BluetoothServiceDiscovery
This method is called by the javax.bluetooth.DiscoveryAgent (agent) when the search for services (read: Peer2Me framework) is completed
serviceSearchCompleted()
- Method in interface peer2me.network.bluetooth.
BluetoothServiceDiscoveryListener
What to do when serviceSearch is completed
servicesDiscovered(int, ServiceRecord[])
- Method in class peer2me.network.bluetooth.
BluetoothServiceDiscovery
This method is called by the javax.bluetooth.DiscoveryAgent (agent) whenever one or more services (read: Peer2Me framework) are found on a remote device
setApplicationId(String)
- Method in class peer2me.network.
Network
This method sets the applicationID.
setConnection(StreamConnection)
- Method in class peer2me.network.
NodeConnection
This method updates the connection object.
setConnectionListener(ConnectionListener)
- Method in class peer2me.network.
Network
This method sets a reference to the ConnectionListener
setFileSize(long)
- Method in class peer2me.util.
FileHandler
This method sets the size of the this file
setFramework(FrameworkFrontEnd)
- Method in class peer2me.util.
Log
This method is called by the FrameworkFrontEnd to reveal itself to the Log
setFrameworkFrontEnd(FrameworkFrontEnd)
- Method in class peer2me.network.
Network
This method sets a reference to the FrameworkFrontEnd
setNodeConnection(StreamConnection)
- Method in class peer2me.domain.
Node
This method sets the connection to this remote node.
setNodeName(String)
- Method in class peer2me.domain.
Node
This method sets the name of the node
setRecipients(String[])
- Method in class peer2me.domain.
DataPackage
This method sets the nodes to receive this package
setSender(Node)
- Method in class peer2me.domain.
DataPackage
This method sets the sender of this data package
shutdown()
- Method in class peer2me.network.
ConnectionListener
This method shuts down this thread and closes the connection to clean up.
shutdownFramework()
- Method in interface peer2me.framework.
Framework
This method shuts down the framework and closes all the open network connections and streams.
shutdownFramework()
- Method in class peer2me.framework.
FrameworkFrontEnd
This method shuts down the framework and closes all the open network connections and streams.
shutdownGroup()
- Method in class peer2me.domain.
Group
This method closes the NodeConnection of all the participating nodes, and removes all nodes from the group.
startNodeConnection()
- Method in class peer2me.domain.
Node
This method creates a nodeConnection running two threads.
startNodeSearch()
- Method in interface peer2me.framework.
Framework
This method starts a search for devices running the same MIDlet.
startNodeSearch()
- Method in class peer2me.framework.
FrameworkFrontEnd
This method starts a search for devices running the same MIDlet.
startServiceSearch(String)
- Method in class peer2me.network.bluetooth.
BluetoothServiceDiscovery
This method is used to re-establish a connection to a device when we have the address.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
N
O
P
R
S
T
W