## Uses of Class
org.fourthline.cling.transport.RouterException

- Packages that use RouterException
  Package | Description
  --- | ---
  org.fourthline.cling.android |
  org.fourthline.cling.mock |
  org.fourthline.cling.protocol |
  org.fourthline.cling.protocol.async |
  org.fourthline.cling.protocol.sync |
  org.fourthline.cling.transport |

- - ### Uses of RouterException in org.fourthline.cling.android

    Methods in org.fourthline.cling.android with parameters of type RouterException
    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.

    Methods in org.fourthline.cling.android that throw RouterException
    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()`

  - ### Uses of RouterException in org.fourthline.cling.mock

    Methods in org.fourthline.cling.mock that throw RouterException
    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()`

  - ### Uses of RouterException in org.fourthline.cling.protocol

    Methods in org.fourthline.cling.protocol that throw RouterException
    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()`

  - ### Uses of RouterException in org.fourthline.cling.protocol.async

    Methods in org.fourthline.cling.protocol.async that throw RouterException
    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)`

  - ### Uses of RouterException in org.fourthline.cling.protocol.sync

    Methods in org.fourthline.cling.protocol.sync that throw RouterException
    Modifier and Type | Method and Description
    --- | ---
    `protected StreamResponseMessage` | SendingUnsubscribe.`executeSync()`
    `protected IncomingSubscribeResponseMessage` | SendingSubscribe.`executeSync()`
    `protected IncomingSubscribeResponseMessage` | SendingRenewal.`executeSync()`
    `protected StreamResponseMessage` | SendingEvent.`executeSync()`
    `protected IncomingActionResponseMessage` | SendingAction.`executeSync()`
    `protected StreamResponseMessage` | ReceivingUnsubscribe.`executeSync()`
    `protected OutgoingSubscribeResponseMessage` | ReceivingSubscribe.`executeSync()`
    `protected StreamResponseMessage` | ReceivingRetrieval.`executeSync()`
    `protected OutgoingEventResponseMessage` | ReceivingEvent.`executeSync()`
    `protected StreamResponseMessage` | ReceivingAction.`executeSync()`
    `protected IncomingActionResponseMessage` | SendingAction.`invokeRemote(OutgoingActionRequestMessage requestMessage)`
    `protected StreamResponseMessage` | SendingAction.`sendRemoteRequest(OutgoingActionRequestMessage requestMessage)`

  - ### Uses of RouterException in org.fourthline.cling.transport

    Methods in org.fourthline.cling.transport that throw RouterException
    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 © 2014 4th Line GmbH, Switzerland. All Rights Reserved.