Modifier and Type | Method and Description |
---|---|
protected void |
AndroidRouter.handleRouterExceptionOnNetworkTypeChange(RouterException ex)
Handles errors when network has been switched, during reception of
network switch broadcast.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AndroidRouter.disable() |
boolean |
AndroidRouter.enable() |
protected void |
AndroidRouter.onNetworkTypeChange(android.net.NetworkInfo oldNetwork,
android.net.NetworkInfo newNetwork)
Can be overriden by subclasses to do additional work.
|
void |
AndroidRouter.shutdown() |
Modifier and Type | Method and Description |
---|---|
boolean |
MockRouter.disable() |
boolean |
MockRouter.enable() |
List<NetworkAddress> |
MockRouter.getActiveStreamServers(InetAddress preferredAddress) |
boolean |
MockRouter.isEnabled() |
void |
MockRouter.send(OutgoingDatagramMessage msg) |
StreamResponseMessage |
MockRouter.send(StreamRequestMessage msg) |
void |
MockRouter.shutdown() |
Modifier and Type | Method and Description |
---|---|
protected void |
RetrieveRemoteDescriptors.describe() |
protected void |
RetrieveRemoteDescriptors.describe(String descriptorXML) |
protected RemoteService |
RetrieveRemoteDescriptors.describeService(RemoteService service) |
protected RemoteDevice |
RetrieveRemoteDescriptors.describeServices(RemoteDevice currentDevice) |
protected void |
SendingSync.execute() |
protected abstract void |
SendingAsync.execute() |
protected void |
ReceivingSync.execute() |
protected abstract void |
ReceivingAsync.execute() |
protected abstract OUT |
SendingSync.executeSync() |
protected abstract OUT |
ReceivingSync.executeSync() |
Modifier and Type | Method and Description |
---|---|
protected void |
SendingSearch.execute() |
protected void |
SendingNotificationByebye.execute() |
protected void |
SendingNotificationAlive.execute() |
protected void |
SendingNotification.execute() |
protected void |
ReceivingSearchResponse.execute() |
protected void |
ReceivingSearch.execute() |
protected void |
ReceivingNotification.execute() |
void |
SendingNotification.sendMessages(Location descriptorLocation) |
protected void |
ReceivingSearch.sendResponses(UpnpHeader searchTarget,
NetworkAddress activeStreamServer) |
protected void |
ReceivingSearch.sendSearchResponseAll(NetworkAddress activeStreamServer) |
protected void |
ReceivingSearch.sendSearchResponseDeviceType(DeviceType deviceType,
NetworkAddress activeStreamServer) |
protected void |
ReceivingSearch.sendSearchResponseRootDevices(NetworkAddress activeStreamServer) |
protected void |
ReceivingSearch.sendSearchResponseServiceType(ServiceType serviceType,
NetworkAddress activeStreamServer) |
protected void |
ReceivingSearch.sendSearchResponseUDN(UDN udn,
NetworkAddress activeStreamServer) |
Modifier and Type | Method and Description |
---|---|
void |
RouterImpl.broadcast(byte[] bytes)
Sends the given bytes as a broadcast on all bound
DatagramIO s,
using source port 9. |
void |
Router.broadcast(byte[] bytes)
Call this method to broadcast a UDP message to all hosts on the network.
|
boolean |
RouterImpl.disable() |
boolean |
Router.disable()
Unbinds all sockets and stops all listening threads for datagrams and streams.
|
boolean |
RouterImpl.disable(DisableRouter event) |
boolean |
RouterImpl.enable()
Initializes listening services: First an instance of
MulticastReceiver
is bound to each network interface. |
boolean |
Router.enable()
Starts all sockets and listening threads for datagrams and streams.
|
boolean |
RouterImpl.enable(EnableRouter event) |
List<NetworkAddress> |
RouterImpl.getActiveStreamServers(InetAddress preferredAddress) |
List<NetworkAddress> |
Router.getActiveStreamServers(InetAddress preferredAddress) |
boolean |
Router.isEnabled() |
protected void |
RouterImpl.lock(Lock lock) |
protected void |
RouterImpl.lock(Lock lock,
int timeoutMilliseconds) |
void |
RouterImpl.send(OutgoingDatagramMessage msg)
Sends the UDP datagram on all bound
DatagramIO s. |
void |
Router.send(OutgoingDatagramMessage msg)
Call this method to send a UDP datagram message.
|
StreamResponseMessage |
RouterImpl.send(StreamRequestMessage msg)
Sends the TCP stream request with the
StreamClient . |
StreamResponseMessage |
Router.send(StreamRequestMessage msg)
Call this method to send a TCP (HTTP) stream message.
|
void |
RouterImpl.shutdown() |
void |
Router.shutdown()
Disables the router and releases all other resources.
|
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.