android.net
Class LocalSocket
java.lang.Object
android.net.LocalSocket
public class LocalSocket
- extends Object
LocalSocket
public LocalSocket()
toString
public String toString()
- Overrides:
toString
in class Object
connect
public void connect(LocalSocketAddress endpoint)
throws IOException
- Throws:
IOException
bind
public void bind(LocalSocketAddress bindpoint)
throws IOException
- Throws:
IOException
getLocalSocketAddress
public LocalSocketAddress getLocalSocketAddress()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
shutdownInput
public void shutdownInput()
throws IOException
- Throws:
IOException
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws IOException
- Throws:
IOException
getReceiveBufferSize
public int getReceiveBufferSize()
throws IOException
- Throws:
IOException
setSoTimeout
public void setSoTimeout(int n)
throws IOException
- Throws:
IOException
getSoTimeout
public int getSoTimeout()
throws IOException
- Throws:
IOException
setSendBufferSize
public void setSendBufferSize(int n)
throws IOException
- Throws:
IOException
getSendBufferSize
public int getSendBufferSize()
throws IOException
- Throws:
IOException
getRemoteSocketAddress
public LocalSocketAddress getRemoteSocketAddress()
isConnected
public boolean isConnected()
isClosed
public boolean isClosed()
isBound
public boolean isBound()
isOutputShutdown
public boolean isOutputShutdown()
isInputShutdown
public boolean isInputShutdown()
connect
public void connect(LocalSocketAddress endpoint,
int timeout)
throws IOException
- Throws:
IOException
setFileDescriptorsForSend
public void setFileDescriptorsForSend(FileDescriptor[] fds)
getAncillaryFileDescriptors
public FileDescriptor[] getAncillaryFileDescriptors()
throws IOException
- Throws:
IOException
getPeerCredentials
public Credentials getPeerCredentials()
throws IOException
- Throws:
IOException
getFileDescriptor
public FileDescriptor getFileDescriptor()
Copyright © 2008-2012. All Rights Reserved.