Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

AbstractCarrierHandler - Class in org.elastos.carrier
The abstract carrier node handler class.
AbstractCarrierHandler() - Constructor for class org.elastos.carrier.AbstractCarrierHandler
 
AbstractGroupHandler - Class in org.elastos.carrier
The abstract carrier group handler class.
AbstractGroupHandler() - Constructor for class org.elastos.carrier.AbstractGroupHandler
 
AbstractStreamHandler - Class in org.elastos.carrier.session
The abstract carrier stream handler class.
AbstractStreamHandler() - Constructor for class org.elastos.carrier.session.AbstractStreamHandler
 
acceptConnect() - Method in class org.elastos.carrier.filetransfer.FileTransfer
Accept file transfer connection request.
acceptFriend(String) - Method in class org.elastos.carrier.Carrier
Accept the friend request.
addFile(FileTransferInfo) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Add a file to queue of file transfer.
addFriend(String, String) - Method in class org.elastos.carrier.Carrier
Add friend by sending a new friend request.
AddressInfo - Class in org.elastos.carrier.session
 
AddressInfo() - Constructor for class org.elastos.carrier.session.AddressInfo
 
addService(String, PortForwardingProtocol, String, String) - Method in class org.elastos.carrier.session.Session
Add a new portforwarding service to session.
addStream(StreamType, int, StreamHandler) - Method in class org.elastos.carrier.session.Session
Add a new stream to session.

B

BootstrapNode() - Constructor for class org.elastos.carrier.Carrier.Options.BootstrapNode
 

C

cancelTransfer(String, int, String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Cancel transferring file with specified fileId(only available to receiver).
CandidateType - Enum in org.elastos.carrier.session
Carrier Stream's candidate type.
Carrier - Class in org.elastos.carrier
The class representing Carrier node instance.
Carrier.Options - Class in org.elastos.carrier
Options defines several settings that control the way the Carrier node connects to the carrier network.
Carrier.Options.BootstrapNode - Class in org.elastos.carrier
 
Carrier.Options.ExpressNode - Class in org.elastos.carrier
 
CARRIER_MAX_USER_NAME_LEN - Static variable in class org.elastos.carrier.Carrier
Carrier App message max length.
CarrierException - Exception in org.elastos.carrier.exceptions
 
CarrierException(int) - Constructor for exception org.elastos.carrier.exceptions.CarrierException
 
CarrierException(int, String) - Constructor for exception org.elastos.carrier.exceptions.CarrierException
 
CarrierException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.CarrierException
 
CarrierException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.CarrierException
 
CarrierExtension - Class in org.elastos.carrier
 
CarrierExtension(Carrier) - Constructor for class org.elastos.carrier.CarrierExtension
 
CarrierExtension.TurnServerInfo - Class in org.elastos.carrier
 
CarrierHandler - Interface in org.elastos.carrier
The interface to Carrier node.
cleanup() - Method in class org.elastos.carrier.filetransfer.Manager
Clean up carrier file transfer manager.
cleanup() - Method in class org.elastos.carrier.session.Manager
Clean up carrier session manager.
close() - Method in class org.elastos.carrier.filetransfer.FileTransfer
Close file transfer instance.
close() - Method in class org.elastos.carrier.session.Session
Close a session to friend.
closeChannel(int) - Method in class org.elastos.carrier.session.Stream
Close a new channel on multiplexing stream.
closePortForwarding(int) - Method in class org.elastos.carrier.session.Stream
Close a port forwarding.
CloseReason - Enum in org.elastos.carrier.session
Multiplexing channel close reason mode.
connect() - Method in class org.elastos.carrier.filetransfer.FileTransfer
Send a file transfer connect request to target peer.
ConnectionStatus - Enum in org.elastos.carrier
Carrier node connection status to the carrier network.
createInstance(Carrier.Options, CarrierHandler) - Static method in class org.elastos.carrier.Carrier
Create node instance.
createInstance(Carrier) - Static method in class org.elastos.carrier.filetransfer.Manager
Create a carrier file transfer manager instance.
createInstance(Carrier, ManagerHandler) - Static method in class org.elastos.carrier.filetransfer.Manager
Create a carrier file transfer manager instance.
createInstance(Carrier) - Static method in class org.elastos.carrier.session.Manager
Create a carrier session manager instance.
createInstance(Carrier, ManagerHandler) - Static method in class org.elastos.carrier.session.Manager
Create a session manager instance.

D

d(String, String) - Static method in class org.elastos.carrier.Log
 
DHTException - Exception in org.elastos.carrier.exceptions
 
DHTException(int) - Constructor for exception org.elastos.carrier.exceptions.DHTException
 
DHTException(int, String) - Constructor for exception org.elastos.carrier.exceptions.DHTException
 
DHTException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.DHTException
 
DHTException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.DHTException
 

E

e(String, String) - Static method in class org.elastos.carrier.Log
 
e(String, String, Exception) - Static method in class org.elastos.carrier.Log
 
ExpressNode() - Constructor for class org.elastos.carrier.Carrier.Options.ExpressNode
 

F

FACILITY_DHT - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FACILITY_GENERAL - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FACILITY_ICE - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FACILITY_RESERVED1 - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FACILITY_RESERVED2 - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FACILITY_SYSTEM - Static variable in exception org.elastos.carrier.exceptions.CarrierException
 
FileTransfer - Class in org.elastos.carrier.filetransfer
 
FileTransferHandler - Interface in org.elastos.carrier.filetransfer
 
FileTransferInfo - Class in org.elastos.carrier.filetransfer
 
FileTransferInfo(String, String, long) - Constructor for class org.elastos.carrier.filetransfer.FileTransferInfo
Constructor of FileTransferInfo which denotes a file.
FileTransferState - Enum in org.elastos.carrier.filetransfer
 
finalize() - Method in class org.elastos.carrier.Carrier
 
finalize() - Method in class org.elastos.carrier.CarrierExtension
 
finalize() - Method in class org.elastos.carrier.filetransfer.Manager
 
finalize() - Method in class org.elastos.carrier.session.Manager
 
finalize() - Method in class org.elastos.carrier.session.Session
 
format(PresenceStatus) - Static method in enum org.elastos.carrier.PresenceStatus
Get debug description of carrier node presence.
format(ReceiptState) - Static method in enum org.elastos.carrier.ReceiptState
Get debug description of ReceiptState object
format(CandidateType) - Static method in enum org.elastos.carrier.session.CandidateType
Get the fully formatized string of candidate type.
format(CloseReason) - Static method in enum org.elastos.carrier.session.CloseReason
Get the fully formatized string of close reason instance.
format(NetworkTopology) - Static method in enum org.elastos.carrier.session.NetworkTopology
Get the fully formatized string of network topology type.
format(PortForwardingProtocol) - Static method in enum org.elastos.carrier.session.PortForwardingProtocol
Get the debug description of port forwarding protocol
format(StreamState) - Static method in enum org.elastos.carrier.session.StreamState
Get description of carrier stream state.
format(StreamType) - Static method in enum org.elastos.carrier.session.StreamType
Get description of carrier stream type.
FriendInfo - Class in org.elastos.carrier
A class representing the Carrier friend information.
FriendInfo() - Constructor for class org.elastos.carrier.FriendInfo
 
FriendInviteResponseHandler - Interface in org.elastos.carrier
The interface to process the friend invite response.
FriendMessageReceiptHandler - Interface in org.elastos.carrier
The interface to process receipt notfication when message has been delivered either to remote friend node when friend is being online, or to offline message store when friend is not being online.
fromErrorCode(int, String, Throwable) - Static method in exception org.elastos.carrier.exceptions.CarrierException
 
fromErrorCode(int, String) - Static method in exception org.elastos.carrier.exceptions.CarrierException
 
fromErrorCode(int, Throwable) - Static method in exception org.elastos.carrier.exceptions.CarrierException
 
fromErrorCode(int) - Static method in exception org.elastos.carrier.exceptions.CarrierException
 

G

GeneralException - Exception in org.elastos.carrier.exceptions
 
GeneralException(int) - Constructor for exception org.elastos.carrier.exceptions.GeneralException
 
GeneralException(int, String) - Constructor for exception org.elastos.carrier.exceptions.GeneralException
 
GeneralException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.GeneralException
 
GeneralException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.GeneralException
 
generateFileId() - Static method in class org.elastos.carrier.filetransfer.FileTransfer
Generate unique file identifier with random algorithm.
getAddress() - Method in class org.elastos.carrier.Carrier
Get node address associated with the carrier node instance.
getAddress() - Method in class org.elastos.carrier.session.AddressInfo
 
getBootstrapNodes() - Method in class org.elastos.carrier.Carrier.Options
 
getCandidateType() - Method in class org.elastos.carrier.session.AddressInfo
 
getCode() - Method in exception org.elastos.carrier.exceptions.CarrierException
 
getCode() - Method in exception org.elastos.carrier.exceptions.UnknownException
 
getConnectionStatus() - Method in class org.elastos.carrier.FriendInfo
Get friend's connection status.
getDescription() - Method in class org.elastos.carrier.UserInfo
Get user's description, also as what's up
getEmail() - Method in class org.elastos.carrier.UserInfo
Get user's email address.
getErrorCode() - Method in exception org.elastos.carrier.exceptions.CarrierException
 
getExpressNodes() - Method in class org.elastos.carrier.Carrier.Options
 
getFacility() - Method in exception org.elastos.carrier.exceptions.CarrierException
 
getFacility() - Method in exception org.elastos.carrier.exceptions.DHTException
 
getFacility() - Method in exception org.elastos.carrier.exceptions.GeneralException
 
getFacility() - Method in exception org.elastos.carrier.exceptions.ICEException
 
getFacility() - Method in exception org.elastos.carrier.exceptions.SystemException
 
getFacility() - Method in exception org.elastos.carrier.exceptions.UnknownException
 
getFileId(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Get an unique file identifier of specified file.
getFileId() - Method in class org.elastos.carrier.filetransfer.FileTransferInfo
Get the Id of the file.
getFileName(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Get file name by file id.
getFileName() - Method in class org.elastos.carrier.filetransfer.FileTransferInfo
Get the name of the file.
getFriend(String) - Method in class org.elastos.carrier.Carrier
Get specified friend information.
getFriends() - Method in class org.elastos.carrier.Carrier
Get friends list.
getGender() - Method in class org.elastos.carrier.UserInfo
Get user's gender.
getGroups() - Method in class org.elastos.carrier.Carrier
Get groups in the Carrier instance.
getId() - Method in class org.elastos.carrier.Group
 
getIdFromAddress(String) - Static method in class org.elastos.carrier.Carrier
Get carrier ID from carrier node address.
getIpv4() - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
getIpv4() - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
getIpv6() - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
getLabel() - Method in class org.elastos.carrier.FriendInfo
Get friend's label name.
getLocalAddressInfo() - Method in class org.elastos.carrier.session.TransportInfo
 
getMessage() - Method in exception org.elastos.carrier.exceptions.CarrierException
 
getName() - Method in class org.elastos.carrier.Group.PeerInfo
 
getName() - Method in class org.elastos.carrier.UserInfo
Get nickname, also as display name.
getNodeId() - Method in class org.elastos.carrier.Carrier
Get nodeid associated with the carrier node instance.
getNospam() - Method in class org.elastos.carrier.Carrier
\~Egnlish Get the nospam for Carrier address.
getOutputStream(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
 
getOutputStream() - Method in class org.elastos.carrier.session.Stream
 
getOutputStream(int) - Method in class org.elastos.carrier.session.Stream
 
getPassword() - Method in class org.elastos.carrier.CarrierExtension.TurnServerInfo
 
getPeer(String) - Method in class org.elastos.carrier.Group
Get group peer information.
getPeer() - Method in class org.elastos.carrier.session.Session
Get remote peer id.
getPeers() - Method in class org.elastos.carrier.Group
Get group peer list.
getPersistentLocation() - Method in class org.elastos.carrier.Carrier.Options
Get the persistent data location.
getPhone() - Method in class org.elastos.carrier.UserInfo
Get user's phone number.
getPort() - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
getPort() - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
getPort() - Method in class org.elastos.carrier.CarrierExtension.TurnServerInfo
 
getPresence() - Method in class org.elastos.carrier.Carrier
Get self presence status.
getPresence() - Method in class org.elastos.carrier.FriendInfo
Get friend's presence.
getPublicKey() - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
getPublicKey() - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
getRealm() - Method in class org.elastos.carrier.CarrierExtension.TurnServerInfo
 
getRegion() - Method in class org.elastos.carrier.UserInfo
Get user's region.
getRelatedAddress() - Method in class org.elastos.carrier.session.AddressInfo
 
getRemoteAddressInfo() - Method in class org.elastos.carrier.session.TransportInfo
 
getSecretKey() - Method in class org.elastos.carrier.Carrier.Options
Get the secret key.
getSelfInfo() - Method in class org.elastos.carrier.Carrier
Get self user information.
getServer() - Method in class org.elastos.carrier.CarrierExtension.TurnServerInfo
 
getSize() - Method in class org.elastos.carrier.filetransfer.FileTransferInfo
Get the size of the file.
getStreamId() - Method in class org.elastos.carrier.session.Stream
 
getTitle() - Method in class org.elastos.carrier.Group
Get group title.
getTopology() - Method in class org.elastos.carrier.session.TransportInfo
 
getTransportInfo() - Method in class org.elastos.carrier.session.Stream
Get tranport info of carrier stream.
getTurnServerInfo() - Method in class org.elastos.carrier.CarrierExtension
 
getType() - Method in class org.elastos.carrier.session.Stream
Get the carrier stream type.
getUdpEnabled() - Method in class org.elastos.carrier.Carrier.Options
Get the udp transport used or not.
getUserId() - Method in class org.elastos.carrier.Carrier
Get userid associated with the carrier node instance.
getUserId() - Method in class org.elastos.carrier.Group.PeerInfo
 
getUserId() - Method in class org.elastos.carrier.UserInfo
Get user ID
getUsername() - Method in class org.elastos.carrier.CarrierExtension.TurnServerInfo
 
getVersion() - Static method in class org.elastos.carrier.Carrier
Get current version of Carrier node.
Group - Class in org.elastos.carrier
 
Group.PeerInfo - Class in org.elastos.carrier
A class representing group peer information.
GroupHandler - Interface in org.elastos.carrier
 
groupJoin(String, byte[]) - Method in class org.elastos.carrier.Carrier
Join a group associating with cookie into which remote friend invites.
groupLeave(Group) - Method in class org.elastos.carrier.Carrier
Leave a group.

H

hasAvatar() - Method in class org.elastos.carrier.UserInfo
Check user have avatar.

I

i(String, String) - Static method in class org.elastos.carrier.Log
 
ICEException - Exception in org.elastos.carrier.exceptions
 
ICEException(int) - Constructor for exception org.elastos.carrier.exceptions.ICEException
 
ICEException(int, String) - Constructor for exception org.elastos.carrier.exceptions.ICEException
 
ICEException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.ICEException
 
ICEException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.ICEException
 
invite(String) - Method in class org.elastos.carrier.Group
Invite a specified friend into group.
inviteFriend(String, String, FriendInviteResponseHandler) - Method in class org.elastos.carrier.Carrier
Send invite request to a friend.
inviteFriend(String, String, FriendInviteResponseHandler) - Method in class org.elastos.carrier.CarrierExtension
 
isFriend(String) - Method in class org.elastos.carrier.Carrier
Check if the user ID is friend.
isReady() - Method in class org.elastos.carrier.Carrier
\~English Check if carrier node instance is being ready.
isValidAddress(String) - Static method in class org.elastos.carrier.Carrier
Check if the carrier node address is valid.
isValidId(String) - Static method in class org.elastos.carrier.Carrier
Check if the ID is Carrier node id.

K

kill() - Method in class org.elastos.carrier.Carrier
Disconnect carrier node from carrier network, and destroy all associated resources to carreier node instance.

L

labelFriend(String, String) - Method in class org.elastos.carrier.Carrier
Set the label of the specified friend.
Log - Class in org.elastos.carrier
 
Log() - Constructor for class org.elastos.carrier.Log
 

M

Manager - Class in org.elastos.carrier.filetransfer
The class representing Carrier file transfer manager.
Manager - Class in org.elastos.carrier.session
The class representing Carrier session manager.
ManagerHandler - Interface in org.elastos.carrier.filetransfer
The interface to file transfer manager.
ManagerHandler - Interface in org.elastos.carrier.session
The interface to session Manager.
MAX_APP_MESSAGE_LEN - Static variable in class org.elastos.carrier.Group
Carrier App message max length.
MAX_EMAIL_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user email address max length.
MAX_FILE_NAME_LEN - Variable in class org.elastos.carrier.filetransfer.FileTransferInfo
 
MAX_GENDER_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user gender max length.
MAX_GROUP_TITLE_LEN - Static variable in class org.elastos.carrier.Group
Max Carrier group title length.
MAX_ID_LEN - Static variable in class org.elastos.carrier.Carrier
Max Carrier ID length.
MAX_ID_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier User ID max length.
MAX_KEY_LEN - Static variable in class org.elastos.carrier.Carrier
Max Carrier KEY length.
MAX_LABEL_LEN - Static variable in class org.elastos.carrier.FriendInfo
Friend label name max length.
MAX_PHONE_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user phone number max length.
MAX_REGION_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user region max length.
MAX_USER_DESCRIPTION_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user description max length.
MAX_USER_NAME_LEN - Static variable in class org.elastos.carrier.UserInfo
Carrier user name max length.

N

NetworkTopology - Enum in org.elastos.carrier.session
Carrier network topology for session peers related to each other.
newFileTransfer(String, FileTransferInfo, FileTransferHandler) - Method in class org.elastos.carrier.filetransfer.Manager
Create a new file transfer to a friend.
newGroup() - Method in class org.elastos.carrier.Carrier
Create a new group.
newSession(String) - Method in class org.elastos.carrier.session.Manager
Create a new session to a friend.

O

onCancel(FileTransfer, String, int, String) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handles cancel file transfer notification from the peer.
onChannelClose(Stream, int, CloseReason) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to be called when channel close.
onChannelClose(Stream, int, CloseReason) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to be called when channel close.
onChannelData(Stream, int, byte[]) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback functiont to be called when channel received incoming data.
onChannelData(Stream, int, byte[]) - Method in interface org.elastos.carrier.session.StreamHandler
The callback functiont to be called when channel received incoming data.
onChannelOpen(Stream, int, String) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to be called when new multiplexing channel request to open.
onChannelOpen(Stream, int, String) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to be called when new multiplexing channel request to open.
onChannelOpened(Stream, int) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to be called when new multiplexing channel opened.
onChannelOpened(Stream, int) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to be called when new multiplexing channel opened.
onChannelPending(Stream, int) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to be called when remote peer ask to pend data sending.
onChannelPending(Stream, int) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to be called when remote peer ask to pend data sending.
onChannelResume(Stream, int) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to be called when remote peer ask to resume data sending.
onChannelResume(Stream, int) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to be called when remote peer ask to resume data sending.
onCompletion(Session, int, String, String) - Method in interface org.elastos.carrier.session.SessionRequestCompleteHandler
The callback function to receive session request complete event.
onConnection(Carrier, ConnectionStatus) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the self connection status.
onConnection(Carrier, ConnectionStatus) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the self connection status.
onConnectRequest(Carrier, String, FileTransferInfo) - Method in interface org.elastos.carrier.filetransfer.ManagerHandler
An callback function that handle file transfer connect request.
onData(FileTransfer, String, byte[]) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that perform receiving data.
onDataFinished(FileTransfer, String) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handles the event of end of receiving data.
onFileRequest(FileTransfer, String, String, long) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handle transfer file request event.
onFriendAdded(Carrier, FriendInfo) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the new friend added event.
onFriendAdded(Carrier, FriendInfo) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the new friend added event.
onFriendConnection(Carrier, String, ConnectionStatus) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend connections status changed event.
onFriendConnection(Carrier, String, ConnectionStatus) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend connections status changed event.
onFriendInfoChanged(Carrier, String, FriendInfo) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend information changed event.
onFriendInfoChanged(Carrier, String, FriendInfo) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend information changed event.
onFriendInvite(Carrier, String, String) - Method in class org.elastos.carrier.CarrierExtension
 
onFriendInviteRequest(Carrier, String, String) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend invite request.
onFriendInviteRequest(Carrier, String, String) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend invite request.
onFriendMessage(Carrier, String, byte[], Date, boolean) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend message.
onFriendMessage(Carrier, String, byte[], Date, boolean) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend message.
onFriendPresence(Carrier, String, PresenceStatus) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend presence changed event.
onFriendPresence(Carrier, String, PresenceStatus) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend presence changed event.
onFriendRemoved(Carrier, String) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend removed event.
onFriendRemoved(Carrier, String) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend removed event.
onFriendRequest(Carrier, String, UserInfo, String) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the friend request.
onFriendRequest(Carrier, String, UserInfo, String) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the friend request.
onFriends(Carrier, List<FriendInfo>) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to iterate the each friend item in friend list.
onFriends(Carrier, List<FriendInfo>) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to iterate the each friend item in friend list.
onGroupConnected(Group) - Method in class org.elastos.carrier.AbstractGroupHandler
The callback function that process event of being connected to group.
onGroupConnected(Group) - Method in interface org.elastos.carrier.GroupHandler
The callback function that process event of being connected to group.
onGroupInvite(Carrier, String, byte[]) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the group invite request.
onGroupInvite(Carrier, String, byte[]) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the group invite request.
onGroupMessage(Group, String, byte[]) - Method in class org.elastos.carrier.AbstractGroupHandler
The callback function that process the group messages.
onGroupMessage(Group, String, byte[]) - Method in interface org.elastos.carrier.GroupHandler
The callback function that process the group messages.
onGroupTitle(Group, String, String) - Method in class org.elastos.carrier.AbstractGroupHandler
The callback function that process the group title change event.
onGroupTitle(Group, String, String) - Method in interface org.elastos.carrier.GroupHandler
The callback function that process the group title change event.
onIdle(Carrier) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function that perform idle work.
onIdle(Carrier) - Method in interface org.elastos.carrier.CarrierHandler
The callback function that perform idle work.
onPeerListChanged(Group) - Method in class org.elastos.carrier.AbstractGroupHandler
The callback function that process the group list change event.
onPeerListChanged(Group) - Method in interface org.elastos.carrier.GroupHandler
The callback function that process the group list change event.
onPeerName(Group, String, String) - Method in class org.elastos.carrier.AbstractGroupHandler
The callback function that process the group peer's name change event.
onPeerName(Group, String, String) - Method in interface org.elastos.carrier.GroupHandler
The callback function that process the group peer's name change event.
onPending(FileTransfer, String) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handles pause file transfer notification from the peer.
onPullRequest(FileTransfer, String, long) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handle file transfer pull request event.
onReady(Carrier) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the ready notification.
onReady(Carrier) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the ready notification.
onReceipt(long, ReceiptState) - Method in interface org.elastos.carrier.FriendMessageReceiptHandler
The callback function to process the message receipt notification.
onReceived(String, int, String, String) - Method in interface org.elastos.carrier.FriendInviteResponseHandler
The callback function to process the friend invite response.
onResume(FileTransfer, String) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handles resume file transfer notification from the peer.
onSelfInfoChanged(Carrier, UserInfo) - Method in class org.elastos.carrier.AbstractCarrierHandler
The callback function to process the self info changed event.
onSelfInfoChanged(Carrier, UserInfo) - Method in interface org.elastos.carrier.CarrierHandler
The callback function to process the self info changed event.
onSessionRequest(Carrier, String, String) - Method in interface org.elastos.carrier.session.ManagerHandler
An callback function that handle session request.
onStateChanged(FileTransfer, FileTransferState) - Method in interface org.elastos.carrier.filetransfer.FileTransferHandler
An application-defined function that handle the state changed event.
onStateChanged(Stream, StreamState) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback function to report state of stream when it's state changes.
onStateChanged(Stream, StreamState) - Method in interface org.elastos.carrier.session.StreamHandler
The callback function to report state of stream when it's state changes.
onStreamData(Stream, byte[]) - Method in class org.elastos.carrier.session.AbstractStreamHandler
The callback will be called when the stream receives incoming packet.
onStreamData(Stream, byte[]) - Method in interface org.elastos.carrier.session.StreamHandler
The callback will be called when the stream receives incoming packet.
openChannel(String) - Method in class org.elastos.carrier.session.Stream
Open a new channel on multiplexing stream.
openPortForwarding(String, PortForwardingProtocol, String, String) - Method in class org.elastos.carrier.session.Stream
Open a port forwarding to remote service over multiplexing.
Options() - Constructor for class org.elastos.carrier.Carrier.Options
 
org.elastos.carrier - package org.elastos.carrier
 
org.elastos.carrier.exceptions - package org.elastos.carrier.exceptions
 
org.elastos.carrier.filetransfer - package org.elastos.carrier.filetransfer
 
org.elastos.carrier.session - package org.elastos.carrier.session
 

P

pendChannel(int) - Method in class org.elastos.carrier.session.Stream
Request remote peer to pend channel data sending.
pendTransfer(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Pend transferring file with specified fileId.
PortForwardingProtocol - Enum in org.elastos.carrier.session
Port forwarding supported protocols.
PresenceStatus - Enum in org.elastos.carrier
Carrier node presence status.
PROPERTY_COMPRESS - Static variable in class org.elastos.carrier.session.Stream
 
PROPERTY_MULTIPLEXING - Static variable in class org.elastos.carrier.session.Stream
 
PROPERTY_PLAIN - Static variable in class org.elastos.carrier.session.Stream
 
PROPERTY_PORT_FORWARDING - Static variable in class org.elastos.carrier.session.Stream
 
PROPERTY_RELIABLE - Static variable in class org.elastos.carrier.session.Stream
 
pullData(String, long) - Method in class org.elastos.carrier.filetransfer.FileTransfer
To send pull request to transfer file with specified fileId.

R

ReceiptState - Enum in org.elastos.carrier
Carrier message receipt status
registerExtension() - Method in class org.elastos.carrier.CarrierExtension
 
removeFriend(String) - Method in class org.elastos.carrier.Carrier
Remove a friend.
removeService(String) - Method in class org.elastos.carrier.session.Session
Remove a portforwarding server to session.
removeStream(Stream) - Method in class org.elastos.carrier.session.Session
Remove a stream from session.
replyFriendInvite(String, int, String, String) - Method in class org.elastos.carrier.Carrier
Reply the friend invite request.
replyFriendInvite(String, int, String, String) - Method in class org.elastos.carrier.CarrierExtension
 
replyRequest(int, String) - Method in class org.elastos.carrier.session.Session
Reply the session request from friend.
request(SessionRequestCompleteHandler) - Method in class org.elastos.carrier.session.Session
Send session request to the friend.
resumeChannel(int) - Method in class org.elastos.carrier.session.Stream
Request remote peer to resume channel data sending.
resumeTransfer(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Resume transferring file with specified fileId.

S

sendFinish(String) - Method in class org.elastos.carrier.filetransfer.FileTransfer
Finish transferring file with specified fileId(only available to sender).
sendFriendMessage(String, String, FriendMessageReceiptHandler) - Method in class org.elastos.carrier.Carrier
Send a message to a friend.
sendFriendMessage(String, byte[], FriendMessageReceiptHandler) - Method in class org.elastos.carrier.Carrier
Send a message to a friend.
sendMessage(byte[]) - Method in class org.elastos.carrier.Group
Send a message to a group.
Session - Class in org.elastos.carrier.session
The class representing Carrier session conversion with friends.
SessionRequestCompleteHandler - Interface in org.elastos.carrier.session
The interface to carrier session.
setBootstrapNodes(List<Carrier.Options.BootstrapNode>) - Method in class org.elastos.carrier.Carrier.Options
 
setConnectionStatus(ConnectionStatus) - Method in class org.elastos.carrier.FriendInfo
Set friend's connection status.
setDescription(String) - Method in class org.elastos.carrier.UserInfo
Set user's brief description, also as what's up.
setEmail(String) - Method in class org.elastos.carrier.UserInfo
Set user's email address.
setExpressNodes(List<Carrier.Options.ExpressNode>) - Method in class org.elastos.carrier.Carrier.Options
 
setGender(String) - Method in class org.elastos.carrier.UserInfo
Set user's gender.
setHasAvatar(boolean) - Method in class org.elastos.carrier.UserInfo
Set user to have avatar.
setIpv4(String) - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
setIpv4(String) - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
setIpv6(String) - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
setLabel(String) - Method in class org.elastos.carrier.FriendInfo
Set friend's label name.
setName(String) - Method in class org.elastos.carrier.UserInfo
Set nickname, also as display name.
setNospam(int) - Method in class org.elastos.carrier.Carrier
Update self nospam of address for this carrier node.
setPersistentLocation(String) - Method in class org.elastos.carrier.Carrier.Options
Set the persistent data location.
setPhone(String) - Method in class org.elastos.carrier.UserInfo
Set usr's phone number.
setPort(String) - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
setPort(String) - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
setPresence(PresenceStatus) - Method in class org.elastos.carrier.Carrier
Update self presence status.
setPresence(PresenceStatus) - Method in class org.elastos.carrier.FriendInfo
Set friend's presence.
setPublicKey(String) - Method in class org.elastos.carrier.Carrier.Options.BootstrapNode
 
setPublicKey(String) - Method in class org.elastos.carrier.Carrier.Options.ExpressNode
 
setRegion(String) - Method in class org.elastos.carrier.UserInfo
Set user's region
setSecretKey(byte[]) - Method in class org.elastos.carrier.Carrier.Options
Set the secret key.
setSelfInfo(UserInfo) - Method in class org.elastos.carrier.Carrier
Update self user information.
setTitle(String) - Method in class org.elastos.carrier.Group
Set group title.
setUdpEnabled(boolean) - Method in class org.elastos.carrier.Carrier.Options
Set to use udp transport or not.
start(int) - Method in class org.elastos.carrier.Carrier
Start carrier node asynchronously to connect to carrier network.
start(String) - Method in class org.elastos.carrier.session.Session
Begin to start a session.
Stream - Class in org.elastos.carrier.session
The class representing Carrier stream.
StreamHandler - Interface in org.elastos.carrier.session
The interface to carrier stream instance.
StreamState - Enum in org.elastos.carrier.session
Carrier stream state The stream state will be changed according to the phase of the stream.
StreamType - Enum in org.elastos.carrier.session
Carrier stream type.
SystemException - Exception in org.elastos.carrier.exceptions
 
SystemException(int) - Constructor for exception org.elastos.carrier.exceptions.SystemException
 
SystemException(int, String) - Constructor for exception org.elastos.carrier.exceptions.SystemException
 
SystemException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.SystemException
 
SystemException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.SystemException
 

T

toString() - Method in enum org.elastos.carrier.ConnectionStatus
Get the debug description of current ConnectionStatus object.
toString() - Method in class org.elastos.carrier.FriendInfo
Get formatted debug description of current FriendInfo object.
toString() - Method in enum org.elastos.carrier.PresenceStatus
Get debug description of current node presence.
toString() - Method in enum org.elastos.carrier.ReceiptState
Get debug description of ReceiptState object
toString() - Method in enum org.elastos.carrier.session.CandidateType
Get fully formatized string.
toString() - Method in enum org.elastos.carrier.session.CloseReason
Get fully formatized string.
toString() - Method in enum org.elastos.carrier.session.NetworkTopology
Get fully formatized string.
toString() - Method in enum org.elastos.carrier.session.PortForwardingProtocol
Get the debug description
toString() - Method in enum org.elastos.carrier.session.StreamState
Get description of current carrier stream state.
toString() - Method in enum org.elastos.carrier.session.StreamType
Get description of current carrier stream type.
toString() - Method in class org.elastos.carrier.UserInfo
Get debug description of current UserInfo object.
TransportInfo - Class in org.elastos.carrier.session
 
TransportInfo() - Constructor for class org.elastos.carrier.session.TransportInfo
 

U

UnknownException - Exception in org.elastos.carrier.exceptions
 
UnknownException(int) - Constructor for exception org.elastos.carrier.exceptions.UnknownException
 
UnknownException(int, String) - Constructor for exception org.elastos.carrier.exceptions.UnknownException
 
UnknownException(int, String, Throwable) - Constructor for exception org.elastos.carrier.exceptions.UnknownException
 
UnknownException(int, Throwable) - Constructor for exception org.elastos.carrier.exceptions.UnknownException
 
UserInfo - Class in org.elastos.carrier
A class representing the Carrier user information.
UserInfo() - Constructor for class org.elastos.carrier.UserInfo
 

V

v(String, String) - Static method in class org.elastos.carrier.Log
 
value() - Method in enum org.elastos.carrier.ConnectionStatus
Get the status value of current ConnectionStatus object.
value() - Method in enum org.elastos.carrier.PresenceStatus
Get carrier node presence status value.
value() - Method in enum org.elastos.carrier.ReceiptState
Get receipt state value.
value() - Method in enum org.elastos.carrier.session.CandidateType
Get candidate type.
value() - Method in enum org.elastos.carrier.session.CloseReason
Get reason value.
value() - Method in enum org.elastos.carrier.session.NetworkTopology
Get netowrk topology type.
value() - Method in enum org.elastos.carrier.session.PortForwardingProtocol
Get value of port forwarding protocol.
value() - Method in enum org.elastos.carrier.session.StreamState
Get state value.
value() - Method in enum org.elastos.carrier.session.StreamType
Get type value of current stream type.
valueOf(String) - Static method in enum org.elastos.carrier.ConnectionStatus
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.ConnectionStatus
Get ConnectionStatus object from staus integter value.
valueOf(String) - Static method in enum org.elastos.carrier.filetransfer.FileTransferState
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.filetransfer.FileTransferState
Get carrier file transfer state from state value.
valueOf(String) - Static method in enum org.elastos.carrier.PresenceStatus
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.PresenceStatus
Get PresenceStatus object from status value.
valueOf(String) - Static method in enum org.elastos.carrier.ReceiptState
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.ReceiptState
Get ReceiptState object from state value.
valueOf(String) - Static method in enum org.elastos.carrier.session.CandidateType
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.CandidateType
Get candidate type
valueOf(String) - Static method in enum org.elastos.carrier.session.CloseReason
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.CloseReason
Get CloseReason instance from reason value.
valueOf(String) - Static method in enum org.elastos.carrier.session.NetworkTopology
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.NetworkTopology
Get network topolgoy.
valueOf(String) - Static method in enum org.elastos.carrier.session.PortForwardingProtocol
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.PortForwardingProtocol
Get port forwarding protocol from protocol value.
valueOf(String) - Static method in enum org.elastos.carrier.session.StreamState
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.StreamState
Get carrier stream state from state value.
valueOf(String) - Static method in enum org.elastos.carrier.session.StreamType
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.elastos.carrier.session.StreamType
Get carrier stream type from type value.
values() - Static method in enum org.elastos.carrier.ConnectionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.filetransfer.FileTransferState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.PresenceStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.ReceiptState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.CandidateType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.CloseReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.NetworkTopology
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.PortForwardingProtocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.StreamState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.carrier.session.StreamType
Returns an array containing the constants of this enum type, in the order they are declared.

W

w(String, String) - Static method in class org.elastos.carrier.Log
 
writeData(String, byte[], int, int) - Method in class org.elastos.carrier.filetransfer.FileTransfer
To transfer file data with specified fileId.
writeData(String, byte[]) - Method in class org.elastos.carrier.filetransfer.FileTransfer
To transfer file data with specified fileId.
writeData(String, byte) - Method in class org.elastos.carrier.filetransfer.FileTransfer
To transfer file data with specified fileId.
writeData(byte[], int, int) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
writeData(byte[]) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
writeData(byte) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
writeData(int, byte[], int, int) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
writeData(int, byte[]) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
writeData(int, byte) - Method in class org.elastos.carrier.session.Stream
Send outgoing data to remote peer.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links