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

M

Message - Class in peer2me.message
This class is used by the framework to exchange messages between nodes in the network.
Message() - Constructor for class peer2me.message.Message
Constructor that should be used by the application that creates a new message that is to be sent over the network.
Message(String) - Constructor for class peer2me.message.Message
When a node receives a message, the framework needs to create a new message object since the message is really sent as pure bytes over the network.
MESSAGE_DISCONNECT - Static variable in class peer2me.message.Message
 
MESSAGE_FILE - Static variable in class peer2me.message.Message
Identifies a message that contains a file or a part of a file
MESSAGE_ID - Static variable in class peer2me.network.bluetooth.Peer2MeHeaderSet
The ID of the message.
MESSAGE_NODE_JOIN - Static variable in class peer2me.message.Message
When an application performs a search for new devices, it will automatically after the search has finished, send a message that contains information about all nodes to all the nodes the application has found.
MESSAGE_NODE_LEFT - Static variable in class peer2me.message.Message
Identifies a message that contains information about a node that is leaving the network
MESSAGE_NODE_MOVE - Static variable in class peer2me.message.Message
Identifies a message that contains information that a node has been moved from one group to another
MESSAGE_NUMBER - Static variable in class peer2me.network.bluetooth.Peer2MeHeaderSet
If a message is sent in several chunks, each chunk must know which number it is.
MESSAGE_PART_ID - Static variable in class peer2me.network.bluetooth.Peer2MeHeaderSet
The ID of a messagepart.
MESSAGE_PRIMITIVES_OR_SERIALIZED_OBJECT - Static variable in class peer2me.message.Message
Identifies a message that contains primitive types or serialized object
MessagePart - Class in peer2me.message
There are three main types of information that can be stored in a MessagePart: serialized objectBytes, fileObject and primitive variables such as int, double, String etc...
MessagePart(String, FileInfo) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a FileInfo object
MessagePart(String, FileObject) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a FileObject
MessagePart(String, int) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains an int
MessagePart(String, double) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a double
MessagePart(String, float) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a float
MessagePart(String, short) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a short
MessagePart(String, String) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a String
MessagePart(String, boolean) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a boolean
MessagePart(String, char) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a char
MessagePart(String, long) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains a long
MessagePart(String, char[]) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains an array of chars
MessagePart(String, byte[]) - Constructor for class peer2me.message.MessagePart
Creates a MessagePart that contains an array of bytes
messagePartReceived(String, int, int) - Method in class peer2me.framework.Framework
This method is called whenever new MessagePart is received.
messagePartReceived(String, int, int) - Method in interface peer2me.framework.FrameworkSubscriber
This method is called for every part of a whole Message that is received.
messagePartReceived(String, int, int) - Method in class peer2me.network.bluetooth.Bluetooth
Every time when the BluetoothConnectionHandler receives a part of a message, it invokes this method.
messagePartReceived(String, int, int) - Method in class peer2me.session.Session
This method is called for every messagepart that is received, giving the messagepartnumber of the total number of messages.
MessageQueueProcessor - Class in peer2me.network.bluetooth
This class processes the messagequeue that is located in Bluetooth.
messageReceived(Message) - Method in class peer2me.framework.Framework
This method is called whenever a new Message is received.
messageReceived(Message) - Method in interface peer2me.framework.FrameworkSubscriber
This method is called whenever a Message is received
messageReceived(Message) - Method in class peer2me.network.bluetooth.Bluetooth
When the BluetoothConnectionHandler receives a message, it reconstructs it and invokes this method when the message is reconstructed.
messageReceived(Message) - Method in class peer2me.network.Network
This method should be called whenever a Message is received
messageReceived(Message) - Method in class peer2me.session.Session
This method is called whenever a Message is received.
MIDLET - Static variable in class peer2me.log.LogElementType
 
moveNode(Node, Group, Group) - Method in class peer2me.framework.Framework
Moves a Node from one Group to another.
moveNode(Node, Group, Group) - Method in class peer2me.session.Session
Moves a Node from one Group to another.

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